From ada8f6b917ea6848cae6c0df5860f2d4f4eb8409 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 9 Jun 2011 12:36:30 +0000 Subject: [package] base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 76ba324973..a194ab8e24 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -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:-+}" -- cgit v1.2.3