[vlc-devel] [PATCH 27/41] Disable sap-ipv6 featureon OS/2

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:44:06 CEST 2011


---
 modules/services_discovery/sap.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index a44cd6d..be58b1d 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -466,6 +466,7 @@ static void *Run( void *data )
     InitSocket( p_sd, SAP_V4_LOCAL_ADDRESS, SAP_PORT );
     InitSocket( p_sd, SAP_V4_LINK_ADDRESS, SAP_PORT );
 
+#ifndef __OS2__
     char psz_address[NI_MAXNUMERICHOST] = "ff02::2:7ffe%";
 #ifndef WIN32
     struct if_nameindex *l = if_nameindex ();
@@ -511,6 +512,7 @@ static void *Run( void *data )
         psz_address[3] = *c_scope;
         InitSocket( p_sd, psz_address, SAP_PORT );
     }
+#endif
 
     psz_addr = var_CreateGetString( p_sd, "sap-addr" );
     if( psz_addr && *psz_addr )
-- 
1.7.3.2



More information about the vlc-devel mailing list