diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-06-09 12:36:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-06-09 12:36:30 +0000 |
commit | 344445715ac08c0dede5034f2edc89cffca4d38c (patch) | |
tree | 34f3f1ae3979920ffab4ae64704ed32eb8998863 /package | |
parent | fd8ec241877a19ea3ee8842f274e8e1d6454186d (diff) | |
download | mtk-20170518-344445715ac08c0dede5034f2edc89cffca4d38c.zip mtk-20170518-344445715ac08c0dede5034f2edc89cffca4d38c.tar.gz mtk-20170518-344445715ac08c0dede5034f2edc89cffca4d38c.tar.bz2 |
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
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 2 |
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 76ba324..a194ab8 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:-+}" |