[package] base-files: assume a default ipv6 prefix size of /64, thats what the majori...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Jun 2011 12:36:30 +0000 (12:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Jun 2011 12:36:30 +0000 (12:36 +0000)
SVN-Revision: 27147

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:-+}"