ソースを参照

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
Jo-Philipp Wich 14 年 前
コミット
344445715a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      package/base-files/files/lib/network/config.sh

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