base-files: assume a default ipv6 prefix size of /64, thats what the majority of...
[openwrt/staging/yousong.git] / package / base-files / files / lib / network / config.sh
index 76ba324973cc6e9cc3ca26452112d17267d873fa..a194ab8e24dc53d3b1752c6cadde9aaaefcdbae9 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:-+}"