laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/35968?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: return CMD_WARNING if osmo_ss7_xua_server_create() fails
......................................................................
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(-)
Approvals:
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
laforge: Looks good to me, approved
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
https://gerrit.osmocom.org/c/libosmo-sccp/+/35968?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I12bbfd48e16166c0f508ccbf2ed4fa786e786082
Gerrit-Change-Number: 35968
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged