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:01 +0000 (12:06 +0200)
commit7f91cabd0d5b6e1a716d9e3fab4103730d9d2888
tree7b5bfdef6f626fd8ecaf2ec5eb4b917812bc176d
parent737b063cc2e562485e624cda0fb42fb47f1b90c7
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