Fix ipv6 address assignment (#1622).
authorejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 May 2007 16:52:46 +0000 (16:52 +0000)
committerejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 May 2007 16:52:46 +0000 (16:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/lib/network/config.sh

index 7e90368..c5334cb 100755 (executable)
@@ -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 ] || {
This page took 0.022383 seconds and 4 git commands to generate.