summaryrefslogtreecommitdiff
path: root/networking/udhcp/arpping.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-06-03 09:20:45 +0200
committerDenys Vlasenko2021-06-03 10:22:28 +0200
commit1c7253726fcbab09917f143f0b703efbd2df55c3 (patch)
tree6512793d53456bc121f08ca6b75b72c96c3c6bb4 /networking/udhcp/arpping.c
parent01daecca1d908c7f08421cff815d81bd8ec3009a (diff)
downloadbusybox-1c7253726fcbab09917f143f0b703efbd2df55c3.zip
busybox-1c7253726fcbab09917f143f0b703efbd2df55c3.tar.gz
udhcpc[6]: when renewing, send 1 packet (not 3), on failure go back to BOUND
This restores old behavior where we slept for 1/2 of lease, then tried renewing, thel slept for 1/4 and tried again, etc. But now we will NOT be listening to all packets for 1/2 of lease time, processing (rejecting) everyone else's DHCP traffic. We'll go back to bound state, where we have no listening socket at all. function old new delta udhcpc6_main 2600 2655 +55 udhcpc_main 2608 2625 +17 .rodata 103250 103249 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 72/-1) Total: 71 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/arpping.c')
0 files changed, 0 insertions, 0 deletions