Loganaden Velvindron
2014-02-12 12:58:17 UTC
From FreeBSD:
"IPv4 code returns EPERM if mrouter not initialized. Make IPv6 do the same."
Index: src/sys/netinet6/ip6_mroute.c
===================================================================
RCS file: /cvsroot/src/sys/netinet6/ip6_mroute.c,v
retrieving revision 1.104
diff -u -p -r1.104 ip6_mroute.c
--- src/sys/netinet6/ip6_mroute.c 14 Sep 2013 11:33:59 -0000 1.104
+++ src/sys/netinet6/ip6_mroute.c 12 Feb 2014 12:55:53 -0000
@@ -317,7 +317,7 @@ ip6_mrouter_set(struct socket *so, struc
mifi_t mifi;
if (sopt->sopt_name != MRT6_INIT && so != ip6_mrouter)
- return (EACCES);
+ return (EPERM);
error = 0;
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
"IPv4 code returns EPERM if mrouter not initialized. Make IPv6 do the same."
Index: src/sys/netinet6/ip6_mroute.c
===================================================================
RCS file: /cvsroot/src/sys/netinet6/ip6_mroute.c,v
retrieving revision 1.104
diff -u -p -r1.104 ip6_mroute.c
--- src/sys/netinet6/ip6_mroute.c 14 Sep 2013 11:33:59 -0000 1.104
+++ src/sys/netinet6/ip6_mroute.c 12 Feb 2014 12:55:53 -0000
@@ -317,7 +317,7 @@ ip6_mrouter_set(struct socket *so, struc
mifi_t mifi;
if (sopt->sopt_name != MRT6_INIT && so != ip6_mrouter)
- return (EACCES);
+ return (EPERM);
error = 0;
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de