From: Florian Fainelli Date: Sat, 9 Dec 2006 16:57:31 +0000 (+0000) Subject: Set up ipv6 address if provided in network configuration (#1028) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cac1789e6ce5fae18a3d8c8698a071e37005c6da;p=openwrt%2Fstaging%2Fthess.git Set up ipv6 address if provided in network configuration (#1028) SVN-Revision: 5738 --- diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 6ddbf9efee..845b33eb7e 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -118,6 +118,7 @@ setup_interface() { config_get dns "$config" dns $DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask" + $DEBUG ifconfig "$iface" inet6 add "$ip6addr" [ -z "$gateway" ] || route add default gw "$gateway" [ -z "$dns" -o -f /tmp/resolv.conf ] || { for ns in $dns; do