diff options
author | Michael Brown | 2015-03-05 12:04:47 +0100 |
---|---|---|
committer | Michael Brown | 2015-03-05 12:06:03 +0100 |
commit | 47ad8fc1bac567c2a1a181392e535684e56edfdc (patch) | |
tree | 15e5d69a6d2c7d2de3937187f38a19c344e238ba /src/net/neighbour.c | |
parent | [linux] Rewrite headers included in all builds (diff) | |
download | ipxe-47ad8fc1bac567c2a1a181392e535684e56edfdc.tar.gz ipxe-47ad8fc1bac567c2a1a181392e535684e56edfdc.tar.xz ipxe-47ad8fc1bac567c2a1a181392e535684e56edfdc.zip |
[retry] Rewrite unrelicensable portions of retry.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/neighbour.c')
-rw-r--r-- | src/net/neighbour.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/neighbour.c b/src/net/neighbour.c index d3961857..f70896a1 100644 --- a/src/net/neighbour.c +++ b/src/net/neighbour.c @@ -95,8 +95,8 @@ static struct neighbour * neighbour_create ( struct net_device *netdev, memcpy ( neighbour->net_dest, net_dest, net_protocol->net_addr_len ); timer_init ( &neighbour->timer, neighbour_expired, &neighbour->refcnt ); - neighbour->timer.min_timeout = NEIGHBOUR_MIN_TIMEOUT; - neighbour->timer.max_timeout = NEIGHBOUR_MAX_TIMEOUT; + set_timer_limits ( &neighbour->timer, NEIGHBOUR_MIN_TIMEOUT, + NEIGHBOUR_MAX_TIMEOUT ); INIT_LIST_HEAD ( &neighbour->tx_queue ); /* Transfer ownership to cache */ |