1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:30:16 +02:00

[package] base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-06-09 12:36:30 +00:00
parent 00938663e2
commit ada8f6b917

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