summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-07-23 15:53:20 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-07-23 15:53:20 +0000
commit16b08c0aa94db2df1de2e9c67e3d66fa99112153 (patch)
tree275eea9d9af92d8252fc76203fbeef39317d2da8 /sbin/dhclient/dhclient.c
parentcfd725726cc1ee7e0b52b96e63098772f06ca8f4 (diff)
Back out the dhclient BPF change. There are DHCP servers out there which
send frames to the ethernet broadcast address, so this will need some more thought and it's too late for 6.0. Problem reported by Holger Mikolon. ok mpi@
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 804fc095b7b..d2592cf4f88 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.378 2016/07/22 13:23:38 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.379 2016/07/23 15:53:19 stsp Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -603,7 +603,6 @@ main(int argc, char *argv[])
error("setsockopt(ROUTE_TABLEFILTER): %s", strerror(errno));
/* Register the interface. */
- get_hw_address();
if_register_receive();
if_register_send();