diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2019-10-17 17:48:32 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2019-10-17 17:48:32 +0000 |
| commit | 6d567ec2dae2287f3bfb6ba55ccaf0f3a552ee5c (patch) | |
| tree | 296a47010b28d4a60ae84317114837720e978fc6 /sys/net/debugnet.c | |
| parent | d39756c1420b3f8ba6edcc60620939f3577126d2 (diff) | |
Notes
Diffstat (limited to 'sys/net/debugnet.c')
| -rw-r--r-- | sys/net/debugnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c index 741e3156372f..9c3803938d81 100644 --- a/sys/net/debugnet.c +++ b/sys/net/debugnet.c @@ -434,7 +434,8 @@ debugnet_pkt_in(struct ifnet *ifp, struct mbuf *m) goto done; } if (memcmp(ifr.ifr_addr.sa_data, eh->ether_dhost, - ETHER_ADDR_LEN) != 0) { + ETHER_ADDR_LEN) != 0 && + (etype != ETHERTYPE_ARP || !ETHER_IS_BROADCAST(eh->ether_dhost))) { DNETDEBUG_IF(ifp, "discard frame with incorrect destination addr\n"); goto done; |
