diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-12 10:41:09 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-12 10:41:09 +0000 |
commit | e0d18430d232572b8be74200c89e41691fe92e7a (patch) | |
tree | a32d46419646096f3e33b88d4ee142049053cf38 /usr.sbin | |
parent | f868f24cd3212cc605f90f74e20702b00a2e2e8d (diff) |
tzset
Diffstat (limited to 'usr.sbin')
-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; |