diff options
author | Shane Kerr <shane@isc.org> | 2007-08-23 09:49:51 +0000 |
---|---|---|
committer | Shane Kerr <shane@isc.org> | 2007-08-23 09:49:51 +0000 |
commit | 9aa669fc968e968f619bc1280aac365177326419 (patch) | |
tree | 718cdce16421318b278776131ade11dbd4429afe /common/bpf.c | |
parent | 8dfd574485a1ae7d803b25feb056bec008fb178d (diff) | |
download | isc-dhcp-9aa669fc968e968f619bc1280aac365177326419.tar.gz |
Warning-enabled build fixes for BSD.
Diffstat (limited to 'common/bpf.c')
-rw-r--r-- | common/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bpf.c b/common/bpf.c index d6f92a75..08fbf242 100644 --- a/common/bpf.c +++ b/common/bpf.c @@ -226,9 +226,10 @@ void if_register_receive (info) { int flag = 1; struct bpf_version v; - u_int32_t addr; struct bpf_program p; +#ifdef NEED_OSF_PFILT_HACKS u_int32_t bits; +#endif #ifdef DEC_FDDI int link_layer; #endif /* DEC_FDDI */ @@ -356,7 +357,6 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto) double ip [32]; struct iovec iov [3]; int result; - int fudge; if (!strcmp (interface -> name, "fallback")) return send_fallback (interface, packet, raw, |