- dhclient-script: IPv6 address which fails DAD is auto-removed (#1133465)
This commit is contained in:
parent
fe41e18619
commit
a6e84ccd33
@ -575,8 +575,15 @@ add_ipv6_addr_with_DAD() {
|
||||
exit_with_hooks 3
|
||||
fi
|
||||
if [ -z "${tentative}" ] ; then
|
||||
# DAD is over
|
||||
return 0
|
||||
addr=$(ip -6 addr show dev ${interface} \
|
||||
| grep ${new_ip6_address}/${new_ip6_prefixlen})
|
||||
if [ -n "${addr}" ]; then
|
||||
# DAD is over
|
||||
return 0
|
||||
else
|
||||
# address was auto-removed (or not added at all)
|
||||
exit_with_hooks 3
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -648,6 +648,8 @@ done
|
||||
%changelog
|
||||
* Mon Aug 25 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-5
|
||||
- spec: use -D with 'install'
|
||||
- dhclient-script: IPv6 address which fails DAD is auto-removed when it was
|
||||
added with valid_lft/preferred_lft other then 'forever' (#1133465)
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12:4.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user