summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-03-29 17:03:29 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-03-30 14:48:02 +0200
commit3d9f4067d56660a2c75ab2ce9b801ae1a4ff4cde (patch)
treed3a1a5e9dedd1d4d32dc375e2bb37dfbd21016d3 /src/ubus.c
parentbc6c3ace738fd4eb28c06be533f6bbc75d0587a5 (diff)
rework IPv6 dns address selection (FS#635)
Don't return anymore the link local IPv6 address as DNS IPv6 address since different OS implementations (e.g. android, ...) cannot handle a link local IPv6 address as DNS address. IPv6 DNS address selection is reworked as follows : -Consider all global/ULA IPv6 address having a valid lifetime -Give preference to global/ULA IPv6 addresses being not deprecated -Give preference to ULA IPv6 addresses over IPv6 global addresses -Give preference to the IPv6 address with the longest preferred lifetime in its selected category (ULA or global) -If no global/ULA IPv6 address is present use the IPv6 link local address Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ubus.c')
0 files changed, 0 insertions, 0 deletions