openwrtv4/package/base-files/files/lib/functions
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
..
leds.sh base-files: introduce commonly used helper functions for setting leds 2013-02-18 09:56:23 +00:00
network.sh base-files: /lib/functions/network.sh: fix network_get_ipaddr6 2014-08-11 18:15:18 +00:00
preinit.sh /lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh 2014-04-07 09:50:19 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: strip quotes from the MAC address in macaddr_canonicalize() 2014-07-14 10:25:49 +00:00
uci-defaults.sh base-files: enable force_link for lan by default 2014-05-16 19:36:22 +00:00