udhcpc: give SIGUSR1-induced renew one chance of unicast renew
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Sep 2018 12:44:09 +0000 (14:44 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Sep 2018 12:44:09 +0000 (14:44 +0200)
commitaae428f0bf0fcd6cd0a2503b3a50de43785b8fd0
treeea72c9526278a93caa1d73c1a469e00fba3b980a
parent702d865fe6ab84c1179275beda6c31f7adaeafa1
udhcpc: give SIGUSR1-induced renew one chance of unicast renew

The caps were inconsistent: timeout to renew was capped at 20 seconds,
and any renews with timeout <= 60 seconds were forced to broadcast.

function                                             old     new   delta
udhcpc_main                                         2683    2680      -3

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/d6_dhcpc.c
networking/udhcp/dhcpc.c