From 03cfe1f188290e00f65e49afe9c95fae2020e482 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 8 Jun 2001 17:59:44 +0000 Subject: [PATCH] be compatible to the RFC, not to the Linux kernel. --- socket/socket_mcjoin6.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/socket/socket_mcjoin6.c b/socket/socket_mcjoin6.c index f72ce3d..e7a59db 100644 --- a/socket/socket_mcjoin6.c +++ b/socket/socket_mcjoin6.c @@ -25,11 +25,7 @@ int socket_mcjoin6(int s,const char ip[16],int interface) return socket_mcjoin4(s,ip+12,ip); #ifdef LIBC_HAS_IP6 byte_copy(&opt.ipv6mr_multiaddr,16,ip); -#ifdef __GLIBC__ opt.ipv6mr_interface=interface; -#else - opt.ipv6mr_ifindex=interface; -#endif return setsockopt(s,IPPROTO_IPV6,IPV6_ADD_MEMBERSHIP,&opt,sizeof opt); #else errno=EPROTO;