base-files: assume a default ipv6 prefix size of /64, thats what the majority of...
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 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:-+}"