diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-24 13:36:14 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-24 13:36:14 +0000 |
commit | df2a40f47a64d1a3e597f5fc972659c2b1ab4059 (patch) | |
tree | eef759c0a2870e2ff2e5d4c0bc349a699fa16569 /sbin/dhclient/bpf.c | |
parent | efb6daabf2d48a06d4610b8ad9c00819cee90eea (diff) |
remove dynamic port gunk
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r-- | sbin/dhclient/bpf.c | 4 |
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"); |