Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d0d58776 authored by Michael Gilbert's avatar Michael Gilbert
Browse files

release 4.4.1-2

parent f839c000
No related branches found
Tags debian/4.4.1-2
No related merge requests found
isc-dhcp (4.4.1-2) unstable; urgency=medium
* Set initial address to 0.0.0.0 on hurd (closes: #875566).
- Thanks to Joan Lledó.
* Update IPv4 address lifetimes on renew (closes: #834532).
- Thanks to Sven Ulland.
-- Michael Gilbert <mgilbert@debian.org> Tue, 11 Dec 2018 03:55:12 +0000
isc-dhcp (4.4.1-1) experimental; urgency=medium
* New upstream release.
......
......@@ -181,7 +181,7 @@ case "$reason" in
# ensure interface is up
# TODO: handle multiple interface case.
fsysopts /servers/socket/2 -i ${interface}
fsysopts /servers/socket/2 -i ${interface} -a 0.0.0.0 -m 255.0.0.0
if [ -n "$alias_ip_address" ]; then
# flush alias IP from interface
......
......@@ -246,6 +246,8 @@ case "$reason" in
# new IP has been leased or leased IP changed => set it
ip -4 addr add ${new_ip_address}${new_subnet_mask:+/$new_subnet_mask} \
${new_broadcast_address:+broadcast $new_broadcast_address} \
${new_dhcp_lease_time:+valid_lft $new_dhcp_lease_time} \
${new_dhcp_lease_time:+preferred_lft $new_dhcp_lease_time} \
dev ${interface} label ${interface}
if [ -n "$new_interface_mtu" ]; then
......@@ -277,6 +279,12 @@ case "$reason" in
fi
done
fi
else # RENEW||REBIND
ip -4 addr change ${new_ip_address}${new_subnet_mask:+/$new_subnet_mask} \
${new_broadcast_address:+broadcast $new_broadcast_address} \
${new_dhcp_lease_time:+valid_lft $new_dhcp_lease_time} \
${new_dhcp_lease_time:+preferred_lft $new_dhcp_lease_time} \
dev ${interface} label ${interface}
fi
if [ -n "$alias_ip_address" ] &&
......@@ -323,6 +331,8 @@ case "$reason" in
# set IP from recorded lease
ip -4 addr add ${new_ip_address}${new_subnet_mask:+/$new_subnet_mask} \
${new_broadcast_address:+broadcast $new_broadcast_address} \
${new_dhcp_lease_time:+valid_lft $new_dhcp_lease_time} \
${new_dhcp_lease_time:+preferred_lft $new_dhcp_lease_time} \
dev ${interface} label ${interface}
if [ -n "$new_interface_mtu" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment