diff options
-rw-r--r-- | usr.sbin/dhcrelay/dhcrelay.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c index de7c2f38c62..26c744356ce 100644 --- a/usr.sbin/dhcrelay/dhcrelay.c +++ b/usr.sbin/dhcrelay/dhcrelay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcrelay.c,v 1.19 2004/05/04 21:23:10 deraadt Exp $ */ +/* $OpenBSD: dhcrelay.c,v 1.20 2004/05/12 10:41:08 henning Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org> @@ -142,6 +142,8 @@ main(int argc, char *argv[]) sp->to.sin_len = sizeof sp->to; } + tzset(); + time(&cur_time); discover_interfaces(interfaces); bootp_packet_handler = relay; |