mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 04:24:32 +00:00
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:
parent
567396ad6d
commit
c647258f1b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue