projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a4eb1
)
cli: fix error handling in creation of IP tunnels
author
Beniamino Galvani
<bgalvani@redhat.com>
Wed, 16 Dec 2015 10:11:06 +0000
(11:11 +0100)
committer
Beniamino Galvani
<bgalvani@redhat.com>
Wed, 16 Dec 2015 10:42:19 +0000
(11:42 +0100)
Fixes:
7da440b798bd4f7d8f1344db5a1d3c98e57fcd5d
clients/cli/connections.c
patch
|
blob
|
history
diff --git
a/clients/cli/connections.c
b/clients/cli/connections.c
index
31b01d4
..
09b0a1b
100644
(file)
--- a/
clients/cli/connections.c
+++ b/
clients/cli/connections.c
@@
-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;