summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-10-20 15:39:45 +0200
committerMax <msuraev@sysmocom.de>2017-10-23 08:39:42 +0000
commita19c126e7693c3f98cc8f5cd0f010d4fa23d922f (patch)
treef0a3f38f4e41219c9062c6c32524e7cacaf1d205 /src
parentc5b47cc03200c983981ac4b8de20fb0e26d4f873 (diff)
GPRS: log NS socket
Let's log NS UDP socket creation similar to the way we log it for telnet and ctrl interfaces. Change-Id: Ic9d0f94ab2c1bb33f67cd4f1c9236b64108c0bb6
Diffstat (limited to 'src')
-rw-r--r--src/gb/gprs_ns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index d20ed232..7443a8ba 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -1580,6 +1580,7 @@ int gprs_ns_nsip_listen(struct gprs_ns_inst *nsi)
"Failed to set the DSCP to %d with ret(%d) errno(%d)\n",
nsi->nsip.dscp, ret, errno);
+ LOGP(DNS, LOGL_NOTICE, "NS UDP socket at %s:%d\n", inet_ntoa(in), nsi->nsip.local_port);
return ret;
}