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
lede-17.01
Jo-Philipp Wich 2011-06-09 12:36:30 +00:00
parent fd8ec24187
commit 344445715a
1 changed files with 1 additions and 1 deletions

View File

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