summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-11-04 19:10:35 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-11-04 19:10:35 +0000
commit040c4fc5068f574b321bd8fa4400d3ae4f7ef77d (patch)
tree88dae7ff0b08c91935cfbedf80893880d05931e5
parentae4722c8bfbd8ac059be3bf439263ba274210255 (diff)
Kill obsolete comment about the constraints imposed by the need to
bounce the interface link state. We no longer bounce.
-rw-r--r--sbin/dhclient/dhclient.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index f6905d1605c..d9d10eefa7b 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.580 2018/11/04 16:32:11 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.581 2018/11/04 19:10:34 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -598,12 +598,6 @@ main(int argc, char *argv[])
close(tailfd);
}
- /*
- * Do the initial status check and possible force up before creating
- * the routing socket. If we bounce the interface down and up while
- * the routing socket is listening, the RTM_IFINFO message with the
- * RTF_UP flag reset will cause premature exit.
- */
interface_state(ifi);
if (!LINK_STATE_IS_UP(ifi->link_state))
interface_link_forceup(ifi->name, ioctlfd);