diff options
author | mpi <mpi@openbsd.org> | 2014-12-17 09:57:13 +0000 |
---|---|---|
committer | mpi <mpi@openbsd.org> | 2014-12-17 09:57:13 +0000 |
commit | 3c687758563c3eb3a71def9e3188f5b981949a32 (patch) | |
tree | 89346c4f64eb7022e2bd0cfd7207feb4855522c2 /sys/netinet/igmp.c | |
parent | Use an interface index instead of a pointer for multicast options. (diff) | |
download | wireguard-openbsd-3c687758563c3eb3a71def9e3188f5b981949a32.tar.xz wireguard-openbsd-3c687758563c3eb3a71def9e3188f5b981949a32.zip |
Remove the "multicast_" prefix from the fields a multicast-only struct.
Prodded by claudio@ and mikeb@
Diffstat (limited to 'sys/netinet/igmp.c')
-rw-r--r-- | sys/netinet/igmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 90254fc5cf1..f4c4bf03a9a 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp.c,v 1.47 2014/12/17 09:45:59 mpi Exp $ */ +/* $OpenBSD: igmp.c,v 1.48 2014/12/17 09:57:13 mpi Exp $ */ /* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */ /* @@ -642,16 +642,16 @@ igmp_sendpkt(struct in_multi *inm, int type, in_addr_t addr) m->m_len += sizeof(struct ip); imo.imo_ifidx = inm->inm_ifidx; - imo.imo_multicast_ttl = 1; + imo.imo_ttl = 1; /* * Request loopback of the report if we are acting as a multicast * router, so that the process-level routing daemon can hear it. */ #ifdef MROUTING - imo.imo_multicast_loop = (ip_mrouter != NULL); + imo.imo_loop = (ip_mrouter != NULL); #else - imo.imo_multicast_loop = 0; + imo.imo_loop = 0; #endif /* MROUTING */ ip_output(m, router_alert, NULL, IP_MULTICASTOPTS, &imo, NULL, 0); |