summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-04-12 23:08:42 +0000
committerhenning <henning@openbsd.org>2004-04-12 23:08:42 +0000
commitd8ee206be0933865b92e4832523957787c26b797 (patch)
treee2c83899038f3e5afa8661bc13db617ed691ef9b
parentRefactor network initialization code into explicit v4 routines to (diff)
downloadwireguard-openbsd-d8ee206be0933865b92e4832523957787c26b797.tar.xz
wireguard-openbsd-d8ee206be0933865b92e4832523957787c26b797.zip
remove those overly helpfull comments like explaining that time(3) gets the
current time
-rw-r--r--usr.sbin/dhcrelay/dhcrelay.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c
index c571925753a..43f5ac0393f 100644
--- a/usr.sbin/dhcrelay/dhcrelay.c
+++ b/usr.sbin/dhcrelay/dhcrelay.c
@@ -157,20 +157,12 @@ main(int argc, char *argv[])
sp->to.sin_len = sizeof sp->to;
}
- /* Get the current time... */
time(&cur_time);
-
- /* Discover all the network interfaces. */
discover_interfaces(interfaces);
-
- /* Set up the bootp packet handler... */
bootp_packet_handler = relay;
-
- /* Become a daemon... */
if (!no_daemon)
daemon(0, 0);
- /* Start dispatching packets and timeouts... */
dispatch();
/* not reached */