diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-24 01:25:43 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-24 01:25:43 +0000 |
commit | 73490af51c9ba0da59a2c0dcda06654e172f1217 (patch) | |
tree | 2aa5359efebdb81f572218977cfa951b6a2d7fe3 /sys/netinet/raw_ip.c | |
parent | 484c640e38c5253c264ae8b7ed31d0a046f6b785 (diff) |
Multicast routing cleanup from Pavlin Radoslavov
- sync ip_mroute.c with NetBSD
- import some FreeBSD changes to MFC entry handling
- set im->im_vif correctly when sending IGMPMSG_WRONGVIF
- increment mrtstat.mrts_upcalls correctly
- return error from get_sg_cnt() if there is no matching forwarding entry
ok henning@ brad@ naddy@
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r-- | sys/netinet/raw_ip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index df0cc77c67d..483c37ef208 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip.c,v 1.32 2003/12/21 14:57:19 markus Exp $ */ +/* $OpenBSD: raw_ip.c,v 1.33 2004/11/24 01:25:42 mcbride Exp $ */ /* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */ /* @@ -297,10 +297,10 @@ rip_ctloutput(op, so, level, optname, m) #ifdef MROUTING switch (op) { case PRCO_SETOPT: - error = ip_mrouter_set(optname, so, m); + error = ip_mrouter_set(so, optname, m); break; case PRCO_GETOPT: - error = ip_mrouter_get(optname, so, m); + error = ip_mrouter_get(so, optname, m); break; default: error = EINVAL; |