cli: fix error handling in creation of IP tunnels

Fixes: 7da440b798
This commit is contained in:
Beniamino Galvani 2015-12-16 11:11:06 +01:00
parent a8a4eb1418
commit e62c0c2547

View file

@ -6217,6 +6217,9 @@ cleanup_tun:
cleanup_tunnel:
g_free (remote_ask);
g_free (mode_ask);
if (!success)
return FALSE;
} else if (!strcmp (con_type, NM_SETTING_VXLAN_SETTING_NAME)) {
/* Build up the settings required for 'vxlan' */
gboolean success = FALSE;