aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-09 12:36:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-09 12:36:30 +0000
commit1b2401635b6d4664aee89518fa41a6aa27666224 (patch)
tree85dc0f1021b2f8e7e8ba680668dcc1f709fa57e3 /package/base-files/files
parentbc2ded86499a6eb80dbcf455000ca0fe76e7b24f (diff)
downloadmaster-187ad058-1b2401635b6d4664aee89518fa41a6aa27666224.tar.gz
master-187ad058-1b2401635b6d4664aee89518fa41a6aa27666224.tar.bz2
master-187ad058-1b2401635b6d4664aee89518fa41a6aa27666224.zip
[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
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index 76ba324973..a194ab8e24 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -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:-+}"