From: Jo-Philipp Wich Date: Thu, 9 Jun 2011 12:36:30 +0000 (+0000) Subject: base-files: assume a default ipv6 prefix size of /64, thats what the majority of... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=344445715ac08c0dede5034f2edc89cffca4d38c;p=openwrt%2Fstaging%2Fstintel.git 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:-+}"