diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-01-28 05:27:14 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-01-28 05:27:14 +0000 |
commit | 91ec0a1e84a188270173862aeeb29e4b9b4dab34 (patch) | |
tree | fed5dde9bd942136b21bcc369ab894b94288da8b /sys/netinet6/raw_ip6.c | |
parent | 0fea3d51659b3fd4d015170aa26845ef719a27b9 (diff) | |
download | src-91ec0a1e84a188270173862aeeb29e4b9b4dab34.tar.gz src-91ec0a1e84a188270173862aeeb29e4b9b4dab34.zip |
Sorry I didn't commit these files at the commit just a few minutes before.
(IPv6 multicast routing)
I think I mistakenly touched TAB and the last arg sys/netinet6 to
the cvs commit changed to sys/netinet6/in6_proto.c.
Notes
Notes:
svn path=/head/; revision=56723
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 9027663f2e21..bc881ac76436 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -87,6 +87,7 @@ #include <netinet/in_systm.h> #include <netinet6/ip6.h> #include <netinet6/ip6_var.h> +#include <netinet6/ip6_mroute.h> #include <netinet6/icmp6.h> #include <netinet/in_pcb.h> #include <netinet6/in6_pcb.h> @@ -419,6 +420,15 @@ rip6_ctloutput(so, sopt) switch (sopt->sopt_dir) { case SOPT_GET: switch (sopt->sopt_name) { + case MRT6_INIT: + case MRT6_DONE: + case MRT6_ADD_MIF: + case MRT6_DEL_MIF: + case MRT6_ADD_MFC: + case MRT6_DEL_MFC: + case MRT6_PIM: + error = ip6_mrouter_get(so, sopt); + break; default: error = ip6_ctloutput(so, sopt); break; @@ -427,6 +437,15 @@ rip6_ctloutput(so, sopt) case SOPT_SET: switch (sopt->sopt_name) { + case MRT6_INIT: + case MRT6_DONE: + case MRT6_ADD_MIF: + case MRT6_DEL_MIF: + case MRT6_ADD_MFC: + case MRT6_DEL_MFC: + case MRT6_PIM: + error = ip6_mrouter_set(so, sopt); + break; default: error = ip6_ctloutput(so, sopt); break; |