diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-10-30 12:30:32 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2014-10-30 14:05:41 +0100 |
commit | d94b406eeba27af2a6abff333dc16e82d28ed636 (patch) | |
tree | 5590f9d3345e51c1c8f6c881da30896fdc2b29fc /src/dhcpv4.h | |
parent | b461334ab277b6e8fd1622ab7c8a655363bd3f6c (diff) |
Fix IPv6 DNS server adddress selection
Fix selection of IPv6 DNS address in DHCPv6 and RA overwrite as an address could be selected
with preferred lifetime zero while IPv6 addresses are in use with non zero preferred
lifetimes.
Fix tries to pick the IPv6 address with the longest preferred lifetime now.
Fixes also the issue an IPv6 address with preferred lifetime zero could be returned in DHCPv6
DNS server option while an IPv6 address with non zero preferred lifetime is returned as DNS
recursive RA option for the same set of available IPv6 addresses.
Diffstat (limited to 'src/dhcpv4.h')
0 files changed, 0 insertions, 0 deletions