aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
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
commitcac1789e6ce5fae18a3d8c8698a071e37005c6da (patch)
treecd18ea5ba40e016b4b4a66acf11afba46ec557be /package/base-files/files/lib
parent1ce8e3192bd65f83f083df065c81cab0a95658fe (diff)
downloadupstream-cac1789e6ce5fae18a3d8c8698a071e37005c6da.tar.gz
upstream-cac1789e6ce5fae18a3d8c8698a071e37005c6da.tar.bz2
upstream-cac1789e6ce5fae18a3d8c8698a071e37005c6da.zip
Set up ipv6 address if provided in network configuration (#1028)
SVN-Revision: 5738
Diffstat (limited to 'package/base-files/files/lib')
-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