Openwrt/package/base-files/files/lib
Jo-Philipp Wich f63509ac89 base-files: /lib/functions/network.sh: fix network_get_ipaddr6
When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>

SVN-Revision: 42139
2014-08-11 18:15:18 +00:00
..
functions base-files: /lib/functions/network.sh: fix network_get_ipaddr6 2014-08-11 18:15:18 +00:00
preinit
upgrade sysupgrade: Enable killing of all processes under upgraded 2014-07-10 19:16:27 +00:00
functions.sh