From 6ad4040f55b7c79abeaf527e61ef53f39e990076 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Thu, 21 Jan 2021 18:44:51 +0100 Subject: gbproxy: Improve log messages in gbproxy_select_sgsn Change-Id: Id7bc755b90c35ed7c8cfa8408073e2866d639f2d Related: OS#4954 --- src/gbproxy/gb_proxy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c index edd9f292f..b573adc86 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); } } -- cgit v1.2.3