summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-12 23:08:43 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-12 23:08:43 +0000
commit9d8e742c214db96f0402771eef2ffabe460ed1e2 (patch)
treedc34cfd88bcc818220328b749577e187c8950d88 /usr.sbin
parentcde7d558eaa6f66cd65433d0975c73f2906c51a2 (diff)
remove those overly helpfull comments like explaining that time(3) gets the
current time
Diffstat (limited to 'usr.sbin')
-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 */