aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 13:47:05 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 13:47:05 +0100
commite5a0798c9cc7f8b0d13f577791700a8633de308b (patch)
tree4c4599d86d6d616660aa2d632cdb4ff6d5c4851b
parent8c5b073072ae3c49bc27ab3d4bc3ed33f87411bb (diff)
gtphub: tweak an error log message
-rw-r--r--openbsc/src/gprs/gtphub.c6
1 files 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;
}