]> git.ipfire.org Git - thirdparty/hostap.git/commit
l2_packet_freebsd: Fix macOS build
authorJouni Malinen <j@w1.fi>
Sat, 24 Feb 2024 16:29:57 +0000 (18:29 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 24 Feb 2024 16:29:57 +0000 (18:29 +0200)
commit3386e1327e57d0f3878bd39a32916b133d16bcca
treedfe8b7d947007d86d3d2138a73bfbdeb329c7fd5
parent86c24217116b03c9276c7941ef0652b5c9c3b191
l2_packet_freebsd: Fix macOS build

ETHER_VLAN_ENCAP_LEN does not seem to be defined in macOS
net/ethernet.h, so define that, if needed, to avoid build issues.

Fixes: 5b21f4861c2e ("l2_packet_freebsd: Enable receiving priority tagged (VID=0) frames")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/l2_packet/l2_packet_freebsd.c