Browse Source

be compatible to the RFC, not to the Linux kernel.

master
Felix von Leitner 19 years ago
parent
commit
2c33862929
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      socket/socket_mcjoin6.c

+ 0
- 4
socket/socket_mcjoin6.c View File

@ -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;


Loading…
Cancel
Save