[Redbutton-devel] SF.net SVN: redbutton:[550] redbutton-download/trunk/rb-download.c
Brought to you by:
skilvington
From: <ski...@us...> - 2011-11-30 16:02:30
|
Revision: 550 http://redbutton.svn.sourceforge.net/redbutton/?rev=550&view=rev Author: skilvington Date: 2011-11-30 16:02:19 +0000 (Wed, 30 Nov 2011) Log Message: ----------- prevent 'address family not supported' errors with IPv6 enabled kernels Modified Paths: -------------- redbutton-download/trunk/rb-download.c Modified: redbutton-download/trunk/rb-download.c =================================================================== --- redbutton-download/trunk/rb-download.c 2011-09-14 17:52:07 UTC (rev 549) +++ redbutton-download/trunk/rb-download.c 2011-11-30 16:02:19 UTC (rev 550) @@ -112,6 +112,7 @@ channels_file = NULL; listen_addr.sin_addr.s_addr = htonl(DEFAULT_LISTEN_ADDR); listen_addr.sin_port = htons(DEFAULT_LISTEN_PORT); + listen_addr.sin_family = AF_INET; carousel_id = -1; /* read it from the PMT */ while((arg = getopt(argc, argv, "a:x:y:z:b:f:t:l:c:v")) != EOF) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |