summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/bpf.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2014-11-08 19:30:30 +0000
committerkrw <krw@openbsd.org>2014-11-08 19:30:30 +0000
commit0ae50e799b0e56080cc19b552b033773a462c94b (patch)
tree7ff47095f3b23e95172e8c6560b78e65535260bd /sbin/dhclient/bpf.c
parentClean up more SSLv2 remnants. (diff)
downloadwireguard-openbsd-0ae50e799b0e56080cc19b552b033773a462c94b.tar.xz
wireguard-openbsd-0ae50e799b0e56080cc19b552b033773a462c94b.zip
Exhort user to recompile 'dhclient', not 'dhcpd', when bpf versions are
mismatched.
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 7cdbedc5abb..3cc033680a0 100644
--- a/sbin/dhclient/bpf.c
+++ b/sbin/dhclient/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.33 2014/10/25 03:18:13 lteo Exp $ */
+/* $OpenBSD: bpf.c,v 1.34 2014/11/08 19:30:30 krw Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -203,7 +203,7 @@ if_register_receive(void)
if (v.bv_major != BPF_MAJOR_VERSION ||
v.bv_minor < BPF_MINOR_VERSION)
- error("Kernel BPF version out of range - recompile dhcpd!");
+ error("Kernel BPF version out of range - recompile dhclient!");
/*
* Set immediate mode so that reads return as soon as a packet