diff options
author | Shane Kerr <shane@isc.org> | 2007-05-16 22:27:35 +0000 |
---|---|---|
committer | Shane Kerr <shane@isc.org> | 2007-05-16 22:27:35 +0000 |
commit | 99fe695e1c6a409986e88d15a1448ffcc1de0a51 (patch) | |
tree | ec5467f507f5c9579bee2aad741f904acfaa58a3 /common/lpf.c | |
parent | 3496f11e70306408ac6702bd5c05ac0d97571d16 (diff) | |
download | isc-dhcp-99fe695e1c6a409986e88d15a1448ffcc1de0a51.tar.gz |
FreeBSD, NetBSD, OpenBSD support added in (again).
See RT ticket #16865 for more (still expect some warnings).
Diffstat (limited to 'common/lpf.c')
-rw-r--r-- | common/lpf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/lpf.c b/common/lpf.c index 255fea8f..f9d256b3 100644 --- a/common/lpf.c +++ b/common/lpf.c @@ -28,7 +28,7 @@ #ifndef lint static char copyright[] = -"$Id: lpf.c,v 1.32 2007/05/08 23:05:20 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; +"$Id: lpf.c,v 1.33 2007/05/16 22:27:34 shane Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -443,9 +443,9 @@ get_hw_addr(const char *name, struct hardware *hw) { memcpy(&hw->hbuf[1], sa->sa_data, 6); break; case ARPHRD_IEEE802: -#ifdef ARPHDR_IEEE802_TR +#ifdef ARPHRD_IEEE802_TR case ARPHRD_IEEE802_TR: -#endif /* ARPHDR_IEEE802_TR */ +#endif /* ARPHRD_IEEE802_TR */ hw->hlen = 7; hw->hbuf[0] = HTYPE_IEEE802; memcpy(&hw->hbuf[1], sa->sa_data, 6); |