diff --git a/RELNOTES b/RELNOTES index 1b535c39..7eeba46e 100644 --- a/RELNOTES +++ b/RELNOTES @@ -52,6 +52,13 @@ ISC DHCP is open source software maintained by Internet Systems Consortium. This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). + Changes since 4.3.1b1 + +- Modify the linux and openwrt dhclient scripts to process information + from a stateless request. Thanks to Jiri Popelka at Red Hat for the + bug report and patch. + [ISC-Bugs 36102] + Changes since 4.3.0 - Tidy up several small tickets. diff --git a/client/scripts/linux b/client/scripts/linux index 14655f04..e6792c67 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -275,12 +275,10 @@ if [ x$reason = xBOUND6 ] ; then fi if [ x$reason = xRENEW6 ] || [ x$reason = xREBIND6 ] ; then - if [ x${new_ip6_address} = x ] || [ x${new_ip6_prefixlen} = x ] ; then - exit_with_hooks 2; - fi - - ${ip} -f inet6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \ + if [ x${new_ip6_address} != x ] && [ x${new_ip6_prefixlen} != x ] ; then + ${ip} -f inet6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \ dev ${interface} scope global + fi # Make sure nothing has moved around on us. diff --git a/client/scripts/openwrt b/client/scripts/openwrt index 8c3059a0..55a4aa96 100755 --- a/client/scripts/openwrt +++ b/client/scripts/openwrt @@ -244,13 +244,11 @@ if [ x$reason = xBOUND6 ]; then fi if [ x$reason = xRENEW6 ] || [ x$reason = xREBIND6 ]; then - if [ x${new_ip6_address} = x ] || [ x${new_ip6_prefixlen} = x ] ; then - exit_with_hooks 2; + if [ x${new_ip6_address} != x ] && [ x${new_ip6_prefixlen} != x ] ; then + ${ip} -f inet6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \ + dev ${interface} scope global fi - ${ip} -f inet6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \ - dev ${interface} scope global - # Make sure nothing has moved around on us. # Nameservers/domains/etc.