Max has submitted this change and it was merged. (
https://gerrit.osmocom.org/11910 )
Change subject: ctrl: print textual error on IPA parsing failure
......................................................................
ctrl: print textual error on IPA parsing failure
Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
---
M src/ctrl/control_if.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
Pau Espin Pedrol: Looks good to me, approved
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index ed18a2f..1121d07 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -360,7 +360,7 @@
* nothing left to do now. */
return 0;
} else if (ret < 0) {
- LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message:
%d\n", ret);
+ LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message: %d
(%s)\n", ret, strerror(-ret));
return 0;
}
--
To view, visit https://gerrit.osmocom.org/11910
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
Gerrit-Change-Number: 11910
Gerrit-PatchSet: 2
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>