diff options
author | 2016-12-19 09:22:24 +0000 | |
---|---|---|
committer | 2016-12-19 09:22:24 +0000 | |
commit | 77c03cb2a3b28d9072c98f0aaf3d0339575976c2 (patch) | |
tree | 3e1c8855594ea4b54cf8d1ec53f79780b4ad5826 /sys/netinet/igmp.c | |
parent | Introduce the NET_LOCK() a rwlock used to serialize accesses to the parts (diff) | |
download | wireguard-openbsd-77c03cb2a3b28d9072c98f0aaf3d0339575976c2.tar.xz wireguard-openbsd-77c03cb2a3b28d9072c98f0aaf3d0339575976c2.zip |
Extend the multicast sockets and multicast hash table support to multiple
domains. This is one step towards supporting to run more than one multicast
socket in different domains at the same time.
ok mpi@
Diffstat (limited to 'sys/netinet/igmp.c')
-rw-r--r-- | sys/netinet/igmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 6806e835874..f1b142c093c 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp.c,v 1.58 2016/12/16 12:24:43 rzalamena Exp $ */ +/* $OpenBSD: igmp.c,v 1.59 2016/12/19 09:22:24 rzalamena Exp $ */ /* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */ /* @@ -664,7 +664,7 @@ igmp_sendpkt(struct ifnet *ifp, struct in_multi *inm, int type, * router, so that the process-level routing daemon can hear it. */ #ifdef MROUTING - imo.imo_loop = (ip_mrouter != NULL); + imo.imo_loop = (ip_mrouter[ifp->if_rdomain] != NULL); #else imo.imo_loop = 0; #endif /* MROUTING */ |