summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/send.c')
-rw-r--r--sys/netinet6/send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/send.c b/sys/netinet6/send.c
index 5624366..233abdb 100644
--- a/sys/netinet6/send.c
+++ b/sys/netinet6/send.c
@@ -180,6 +180,8 @@ send_output(struct mbuf *m, struct ifnet *ifp, int direction)
dst.sin6_len = sizeof(dst);
dst.sin6_addr = ip6->ip6_dst;
+ m_clrprotoflags(m); /* Avoid confusing lower layers. */
+
/*
* Output the packet as nd6.c:nd6_output_lle() would do.
* The mbuf is always consumed, so we do not have to care
OpenPOWER on IntegriCloud