Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107579905
D29947.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
D29947.diff
View Options
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -244,6 +244,8 @@
static int pim_encapcheck(const struct mbuf *, int, int, void *);
static int pim_input(struct mbuf *, int, int, void *);
+extern int in_mcast_loop;
+
static const struct encap_config ipv4_encap_cfg = {
.proto = IPPROTO_PIM,
.min_length = sizeof(struct ip) + PIM_MINLEN,
@@ -1685,7 +1687,7 @@
imo.imo_multicast_ifp = vifp->v_ifp;
imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1;
- imo.imo_multicast_loop = 1;
+ imo.imo_multicast_loop = !!in_mcast_loop;
imo.imo_multicast_vif = -1;
STAILQ_INIT(&imo.imo_head);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 4:42 AM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15833648
Default Alt Text
D29947.diff (685 B)
Attached To
Mode
D29947: mrouter: do not loopback packets unconditionally
Attached
Detach File
Event Timeline
Log In to Comment