aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-10-20 13:39:57 +0200
committerMax <msuraev@sysmocom.de>2017-10-20 13:39:57 +0200
commitbaabc681aea5d950d97db59aea96002e08d3b955 (patch)
tree87c09f1a7f9899299c7cedd84b59ff8f44f22ee3 /src/gprs/sgsn_main.c
parent72ad237d607b3680c8d86d3449bfcbbb5e8f0318 (diff)
SGSN: print additional GTP-related info
* print libgtp version on startup * print GSN addresses in 'sh sgsn' Change-Id: I699a9eb56c4b362984ea8292a3d2b22b71f53c15 Related: SYS#3610
Diffstat (limited to 'src/gprs/sgsn_main.c')
-rw-r--r--src/gprs/sgsn_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index d79beb33..7036bf65 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -447,7 +447,8 @@ int main(int argc, char **argv)
if (rc) {
LOGP(DGPRS, LOGL_FATAL, "Cannot bind/listen on GTP socket\n");
exit(2);
- }
+ } else
+ LOGP(DGPRS, LOGL_NOTICE, "libGTP v%s initialized\n", gtp_version());
rc = gprs_subscr_init(&sgsn_inst);
if (rc < 0) {