[package] base-files: assume a default ipv6 prefix size of /64, thats what the majori...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Jun 2011 12:36:30 +0000 (12:36 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Jun 2011 12:36:30 +0000 (12:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 76ba324..a194ab8 100755 (executable)
@@ -237,7 +237,7 @@ setup_interface_static() {
 
        case "$ip6addr" in
                */*) ;;
-               *:*) ip6addr="$ip6addr/128" ;;
+               *:*) ip6addr="$ip6addr/64" ;;
        esac
 
        [ -z "$ipaddr" ] || $DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask" broadcast "${bcast:-+}"