aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-12-09 16:57:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-12-09 16:57:31 +0000
commitccc54474f544ed9e6cb22f061a3ff4eba15a79cb (patch)
tree3e320a8ebede032ca33ed971b295b3edca9ddb32 /package
parent2ca8617f108072e44cf4afdfc453f8847900e4a8 (diff)
downloadmaster-187ad058-ccc54474f544ed9e6cb22f061a3ff4eba15a79cb.tar.gz
master-187ad058-ccc54474f544ed9e6cb22f061a3ff4eba15a79cb.tar.bz2
master-187ad058-ccc54474f544ed9e6cb22f061a3ff4eba15a79cb.zip
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
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh1
1 files changed, 1 insertions, 0 deletions
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