Commit 18533cf1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SAP hop limit should always be 255 as per its specification - refs #404

parent 25cc8bd8
...@@ -369,7 +369,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap, ...@@ -369,7 +369,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
return VLC_ENOMEM; return VLC_ENOMEM;
} }
p_address->psz_address = strdup( psz_addr ); 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 ) if( p_address->i_wfd != -1 )
{ {
char *ptr; char *ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment