mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-07 15:22:35 +00:00
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
This commit is contained in:
parent
fd8ec24187
commit
344445715a
@ -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:-+}"
|
||||
|
Loading…
Reference in New Issue
Block a user