Fix IPv6 prefix length

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4241 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-10-30 21:02:26 +00:00
parent 567396ad6d
commit c647258f1b

View file

@ -1056,7 +1056,7 @@ nm_utils_ip6_addresses_from_gvalue (const GValue *value)
tmp = g_value_array_get_nth (elements, 1);
prefix = g_value_get_uint (tmp);
if (prefix > 32) {
if (prefix > 128) {
nm_warning ("%s: ignoring invalid IP6 prefix %d",
__func__, prefix);
continue;