aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-30 12:19:11 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 11:40:09 +0100
commit005f175c3b9a3182d429de9177438564b8a7e4f6 (patch)
tree489a6686536b4fd05b119c8d43f0e251d4a29a35 /openbsc/src/gprs
parentfc1be3a0c1cb7a220c174c7d7d3d4bd1cd4dedf4 (diff)
gtphub: fix a conditional for log output
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r--openbsc/src/gprs/gtphub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index 8a2815655..ff1105b8e 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -1468,7 +1468,7 @@ static int gtphub_handle_pdp_ctx_ies(struct gtphub *hub,
if (p->type == GTP_CREATE_PDP_REQ) {
LOG(LOGL_DEBUG, "New tunnel, first half: %s\n",
gtphub_tunnel_str(tun));
- } else if (p->type == GTP_CREATE_PDP_REQ) {
+ } else if (p->type == GTP_CREATE_PDP_RSP) {
LOG(LOGL_DEBUG, "New tunnel: %s\n",
gtphub_tunnel_str(tun));
}