aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorEugene Konev <ejka@openwrt.org>2007-05-06 16:52:46 +0000
committerEugene Konev <ejka@openwrt.org>2007-05-06 16:52:46 +0000
commit8283abc45a5702bf9e92bfbdea08e33cc797aac1 (patch)
treeb92e0266006a630c264362666a40035124a918a3 /package
parent629985c5aa8f266a7d6bb1fb689726b7c2239bcd (diff)
downloadmaster-187ad058-8283abc45a5702bf9e92bfbdea08e33cc797aac1.tar.gz
master-187ad058-8283abc45a5702bf9e92bfbdea08e33cc797aac1.tar.bz2
master-187ad058-8283abc45a5702bf9e92bfbdea08e33cc797aac1.zip
Fix ipv6 address assignment (#1622).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index 7e90368e26..c5334cbd5d 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -152,7 +152,7 @@ setup_interface() {
config_get bcast "$config" broadcast
[ -z "$ipaddr" ] || $DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask"
- [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface" inet6 add "$ip6addr"
+ [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface" add "$ip6addr"
[ -z "$gateway" ] || $DEBUG route add default gw "$gateway"
[ -z "$bcast" ] || $DEBUG ifconfig "$iface" broadcast "$bcast"
[ -z "$dns" -o -f /tmp/resolv.conf.auto ] || {