base-files: network.sh: properly report local IPv6 addresses
authorJo-Philipp Wich <jo@mein.io>
Thu, 8 Jun 2017 10:02:36 +0000 (12:02 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 8 Jun 2017 10:06:50 +0000 (12:06 +0200)
commitdf4363b607629710240dcaccf4e3f0bc6fae93ae
tree156b14d304a356b0104bb735e3dfe39c8813b5db
parent4fbd0726240915d9d5e533563d500cf716902688
base-files: network.sh: properly report local IPv6 addresses

Rework the network_get_ipaddr6() and network_get_ipaddrs6() functions to
fetch the effective local IPv6 address of delegated prefix from the
"local-address" field instead of naively hardcoding ":1" as static suffix.

Fixes FS#829.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/base-files/Makefile
package/base-files/files/lib/functions/network.sh