From: Jo-Philipp Wich Date: Thu, 9 Jun 2011 12:36:30 +0000 (+0000) Subject: [package] base-files: assume a default ipv6 prefix size of /64, thats what the majori... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=4d2448a40e0f3602afeaa6117961fb1bc3c2fc4d [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 SVN-Revision: 27147 --- 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:-+}"