--- linux-2.5.6/net/ipv4/ipmr.c.orig Thu Mar 14 22:04:28 2002
+++ linux-2.5.6/net/ipv4/ipmr.c Thu Mar 14 22:03:54 2002
@@ -855,7 +855,7 @@
switch(optname)
{
case MRT_INIT:
- if(sk->type!=SOCK_RAW || sk->num!=IPPROTO_IGMP)
+ if(sk->type!=SOCK_RAW || inet_sk(sk)->num!=IPPROTO_IGMP)
return -EOPNOTSUPP;
if(optlen!=sizeof(int))
return -ENOPROTOOPT;
-- Nature has made up her mind that | None learned the art of archery what cannot defend itself shall | from me who did not make me, in the not be defended. --Ralph Emerson | end, the target. --Saadi of Shiraz - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/