diff options
author | Shawn Routhier <sar@isc.org> | 2014-05-19 14:01:20 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2014-05-19 14:01:20 -0700 |
commit | 59a351d6d50a80e76af0416089670aa0842b16dc (patch) | |
tree | e554033a4ebb2ab69083a64a049408214338187c /common | |
parent | 8a2e40cff8aa99c00bd391e3d6928622d99a213e (diff) | |
download | isc-dhcp-59a351d6d50a80e76af0416089670aa0842b16dc.tar.gz |
[master] Enhance support for vlans on freebsd.
Diffstat (limited to 'common')
-rw-r--r-- | common/bpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/bpf.c b/common/bpf.c index fbceaa10..a4269181 100644 --- a/common/bpf.c +++ b/common/bpf.c @@ -578,6 +578,9 @@ get_hw_addr(const char *name, struct hardware *hw) { */ switch (sa->sdl_type) { case IFT_ETHER: +#if defined (IFT_L2VLAN) + case IFT_L2VLAN: +#endif hw->hlen = sa->sdl_alen + 1; hw->hbuf[0] = HTYPE_ETHER; memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen); |