aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-01-21 18:44:51 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2021-01-22 12:36:13 +0100
commit6ad4040f55b7c79abeaf527e61ef53f39e990076 (patch)
tree323d7fa8e61bd62a37c50ad24351b3a875289ca9
parent45bf92feb42795471f84190daaad1e5f35323d45 (diff)
gbproxy: Improve log messages in gbproxy_select_sgsn
-rw-r--r--src/gbproxy/gb_proxy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c
index edd9f292..b573adc8 100644
--- a/src/gbproxy/gb_proxy.c
+++ b/src/gbproxy/gb_proxy.c
@@ -251,8 +251,10 @@ static struct gbproxy_sgsn *gbproxy_select_sgsn(struct gbproxy_config *cfg, cons
}
} else {
/* We couldn't get the NRI from the TLLI */
- LOGP(DGPRS, LOGL_ERROR, "Could not extract NRI from local TLLI %u\n", *tlli);
+ LOGP(DGPRS, LOGL_ERROR, "Could not extract NRI from local TLLI %08x\n", *tlli);
}
+ } else {
+ LOGP(DGPRS, LOGL_INFO, "TLLI %08x is neither local nor foreign, not routing by NRI\n", *tlli);
}
}