From e5a0798c9cc7f8b0d13f577791700a8633de308b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 3 Dec 2015 13:47:05 +0100 Subject: gtphub: tweak an error log message --- openbsc/src/gprs/gtphub.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c index 132808a16..6428c60a1 100644 --- a/openbsc/src/gprs/gtphub.c +++ b/openbsc/src/gprs/gtphub.c @@ -1421,7 +1421,8 @@ static int gtphub_handle_create_pdp_ctx(struct gtphub *hub, if (p->type == GTP_CREATE_PDP_REQ) { if (p->side_idx != GTPH_SIDE_SGSN) { LOG(LOGL_ERROR, "Wrong side: Create PDP Context" - " Request from the GGSN side"); + " Request from the GGSN side: %s", + gtphub_port_str(from_ctrl)); return -1; } @@ -1436,7 +1437,8 @@ static int gtphub_handle_create_pdp_ctx(struct gtphub *hub, } else if (p->type == GTP_CREATE_PDP_RSP) { if (p->side_idx != GTPH_SIDE_GGSN) { LOG(LOGL_ERROR, "Wrong side: Create PDP Context" - " Response from the SGSN side"); + " Response from the SGSN side: %s", + gtphub_port_str(from_ctrl)); return -1; } -- cgit v1.2.3