mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 09:50:09 +01:00
vpn: fix zero IPv6 address check
Bug introduced by commit d8e6065.
https://bugzilla.gnome.org/show_bug.cgi?id=706286
Reported-by: Nicolas Iooss <nicolas.iooss.2010_nm@m4x.org>
Acked-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
2fedf0a3f4
commit
ff6d9b3c0f
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ nm_vpn_connection_ip6_config_get (DBusGProxy *proxy,
|
|||
if (val)
|
||||
address.plen = g_value_get_uint (val);
|
||||
|
||||
if (IN6_IS_ADDR_UNSPECIFIED (&address.address) && address.plen)
|
||||
if (!IN6_IS_ADDR_UNSPECIFIED (&address.address) && address.plen)
|
||||
nm_ip6_config_add_address (config, &address);
|
||||
else {
|
||||
nm_log_err (LOGD_VPN, "invalid IP6 config received!");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue