diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-12-09 16:57:31 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-12-09 16:57:31 +0000 |
commit | cac1789e6ce5fae18a3d8c8698a071e37005c6da (patch) | |
tree | cd18ea5ba40e016b4b4a66acf11afba46ec557be /package/base-files | |
parent | 1ce8e3192bd65f83f083df065c81cab0a95658fe (diff) | |
download | upstream-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')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 1 |
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 |