laforge submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
return CMD_WARNING if osmo_ss7_xua_server_create() fails
Change-Id: I12bbfd48e16166c0f508ccbf2ed4fa786e786082
Related: SYS#5424
---
M src/osmo_ss7_vty.c
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 836b3fd..33e6e56 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -491,7 +491,7 @@
if (!xs) {
xs = osmo_ss7_xua_server_create(inst, proto, port, NULL);
if (!xs)
- return CMD_SUCCESS;
+ return CMD_WARNING;
/* Drop first dummy address created automatically by _create(): */
osmo_ss7_xua_server_set_local_hosts(xs, NULL, 0);
}
To view, visit change 35968. To unsubscribe, or for help writing mail filters, visit settings.