diff options
author | 2014-12-03 18:47:03 +0000 | |
---|---|---|
committer | 2014-12-03 18:47:03 +0000 | |
commit | 0856f83b41eb3e1ade2da716127cb6374bb46c25 (patch) | |
tree | 2674b68a391cfa9b501ca7e388e5eec3c6cbb23d /sbin/dhclient/bpf.c | |
parent | Fill the buffer with 'z' instead of 'a' since 'a' is part of the (diff) | |
download | wireguard-openbsd-0856f83b41eb3e1ade2da716127cb6374bb46c25.tar.xz wireguard-openbsd-0856f83b41eb3e1ade2da716127cb6374bb46c25.zip |
Correct comment to state that the BPF program is patched in
if_register_receive.
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 770ba1a2b88..a6e956d7f25 100644 --- a/sbin/dhclient/bpf.c +++ b/sbin/dhclient/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.36 2014/11/23 14:02:21 krw Exp $ */ +/* $OpenBSD: bpf.c,v 1.37 2014/12/03 18:47:03 krw Exp $ */ /* BPF socket interface code, originally contributed by Archie Cobbs. */ @@ -111,7 +111,7 @@ if_register_send(void) * Packet filter program. * * XXX: Changes to the filter program may require changes to the - * constant offsets used in if_register_send to patch the BPF program! + * constant offsets used in if_register_receive to patch the BPF program! */ struct bpf_insn dhcp_bpf_filter[] = { /* Make sure this is an IP packet. */ |