another bridge feature i'm not convinced people actually use.
ok jmatthew@ claudio@
-/* $OpenBSD: bridgectl.c,v 1.23 2021/01/28 20:06:38 mvs Exp $ */
+/* $OpenBSD: bridgectl.c,v 1.24 2021/02/24 06:44:54 dlg Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
if (ntohs(eh->ether_type) != ETHERTYPE_ARP)
return (0);
- if (m->m_pkthdr.len <= ETHER_HDR_LEN + sizeof(ea))
+ if (m->m_pkthdr.len < ETHER_HDR_LEN + sizeof(ea))
return (0); /* log error? */
m_copydata(m, ETHER_HDR_LEN, sizeof(ea), (caddr_t)&ea);