aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-ext4fs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-06-08 19:27:46 +0200
committerJo-Philipp Wich <jo@mein.io>2017-06-08 23:02:16 +0200
commite5db08edf7b0d10ca50073107eb05dd3d671cd55 (patch)
tree539e240cf43473e4e377ec90fd68163cf68bf3f0 /tools/make-ext4fs
parent8a42d4d85113c5461d7a3cae3cc4c391d4a5a6ca (diff)
downloadupstream-e5db08edf7b0d10ca50073107eb05dd3d671cd55.tar.gz
upstream-e5db08edf7b0d10ca50073107eb05dd3d671cd55.tar.bz2
upstream-e5db08edf7b0d10ca50073107eb05dd3d671cd55.zip
base-files: network.sh: fix a number of IPv6 logic flaws
* Change network_get_subnet6() to sensibly guess a suitable prefix Attempt to return the first non-linklocal, non-ula range, then attempt to return the first non-linklocal range and finally fall back to the previous behaviour of simply returning the first found item. * Fix network_get_ipaddrs_all() Instead of replicating the flawed logic appending a fixed ":1" suffix to IPv6 addresses, rely on network_get_ipaddrs() and network_get_ipaddrs6() to build a single list of all interface addresses. * Fix network_get_subnets6() Instead of replicating the flawed logic appending a fixed ":1" suffix to IPv6 addresses, rely on the ipv6-prefix-assignment.local-address field to figure out the proper network address. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/make-ext4fs')
0 files changed, 0 insertions, 0 deletions