From 9c2c7fac4771a9262834926f0d4ac95fdb6fc43f Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 9 Dec 2006 16:57:31 +0000 Subject: [PATCH] Set up ipv6 address if provided in network configuration (#1028) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 6ddbf9efe..845b33eb7 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 -- 2.20.1