summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dhcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dhcp.c b/net/dhcp.c
index cad5dd2b59..19a846270e 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -557,8 +557,7 @@ static void dhcp_send_request_packet(struct bootp *bp_offer)
bp->bp_htype = HWT_ETHER;
bp->bp_hlen = HWL_ETHER;
bp->bp_hops = 0;
- /* FIXME what is this? */
-// bp->bp_secs = htons(get_timer(0) / CFG_HZ);
+ bp->bp_secs = htons(get_time_ns() >> 30);
/*
* RFC3046 requires Relay Agents to discard packets with