mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
- Add support for dhcpv6 "Release" messages [rt16905]
- Add -x option, which causes running dhclient processes to exist gracefully *without* releasing leases [rt16741] (Merging both at once because the first one depended on the second one)
This commit is contained in:
@@ -276,7 +276,7 @@ if [ ${reason} = DEPREF6 ] ; then
|
||||
exit_with_hooks 0
|
||||
fi
|
||||
|
||||
if [ ${reason} = EXPIRE6 ] ; then
|
||||
if [ ${reason} = EXPIRE6 -o ${reason} = RELEASE6 -o ${reason} = STOP6 ] ; then
|
||||
if [ x${old_ip6_address} = x ] || [ x${old_ip6_prefixlen} = x ] ; then
|
||||
exit_with_hooks 2;
|
||||
fi
|
||||
|
Reference in New Issue
Block a user