fff-ra: Set preferred lifetime smaller than valid lifetime #247

Closed
fbl wants to merge 1 commits from fbl:rafix into master
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@ uci batch <<EOF
set dhcp.client.ra_default='2'
set dhcp.client.ra_management='0'
set dhcp.client.ra_useleasetime='1'
# Work around unexpected behavior of odhcpd (see #238).
#
# This value has to be less then or equal to
# dhcp.client.leasetime (set in fff-dhcp).
set dhcp.client.preferred_lifetime='1h'
EOF
exit 0