summaryrefslogtreecommitdiff
path: root/sbin/dhclient/bpf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-24 13:36:14 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-24 13:36:14 +0000
commitdf2a40f47a64d1a3e597f5fc972659c2b1ab4059 (patch)
treeeef759c0a2870e2ff2e5d4c0bc349a699fa16569 /sbin/dhclient/bpf.c
parentefb6daabf2d48a06d4610b8ad9c00819cee90eea (diff)
remove dynamic port gunk
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r--sbin/dhclient/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c
index 2b586a314bf..4ee46810bed 100644
--- a/sbin/dhclient/bpf.c
+++ b/sbin/dhclient/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.7 2004/02/24 13:08:26 henning Exp $ */
+/* $OpenBSD: bpf.c,v 1.8 2004/02/24 13:36:13 henning Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -209,7 +209,7 @@ if_register_receive(struct interface_info *info)
* XXX: changes to filter program may require changes to the
* insn number(s) used below!
*/
- dhcp_bpf_filter[8].k = ntohs(local_port);
+ dhcp_bpf_filter[8].k = LOCAL_PORT;
if (ioctl(info->rfdesc, BIOCSETF, &p) < 0)
error("Can't install packet filter program: %m");