]> git.sesse.net Git - vlc/commitdiff
SAP hop limit should always be 255 as per its specification - refs #404
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 11 Feb 2006 10:49:30 +0000 (10:49 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 11 Feb 2006 10:49:30 +0000 (10:49 +0000)
src/stream_output/sap.c

index a1313faf7c09583f3c6556d8301d7de096e53fb3..e8a748461925adbbc1ef4efac18af64a63a59af7 100644 (file)
@@ -369,7 +369,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
             return VLC_ENOMEM;
         }
         p_address->psz_address = strdup( psz_addr );
-        p_address->i_wfd = net_ConnectUDP( p_sap, psz_addr, SAP_PORT, 0 );
+        p_address->i_wfd = net_ConnectUDP( p_sap, psz_addr, SAP_PORT, 255 );
         if( p_address->i_wfd != -1 )
         {
             char *ptr;