[vlc-devel] [PATCH 3/4] sap: disable IPv6 codes on OS/2

KO Myung-Hun komh78 at gmail.com
Wed Jan 30 08:34:52 CET 2013


---
 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 faf5b22..89fb275 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -511,12 +511,14 @@ static void *Run( void *data )
 #endif
     *strchr (psz_address, '%') = '\0';
 
+#ifndef __OS2__
     static const char ipv6_scopes[] = "1456789ABCDE";
     for (const char *c_scope = ipv6_scopes; *c_scope; c_scope++)
     {
         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