From a66de71f8e8614cff7edc85fe979420716e5672c Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 23 Nov 2018 16:50:50 +0100 Subject: ctrl: print textual error on IPA parsing failure Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db --- src/ctrl/control_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ctrl') diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index ed18a2fc..1121d07f 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -360,7 +360,7 @@ static int handle_control_read(struct osmo_fd * bfd) * 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; } -- cgit v1.2.3