gtphub: fix a conditional for log output
Sponsored-by: On-Waves ehi
diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index 8a28156..ff1105b 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -1468,7 +1468,7 @@
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));
}