aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/sgsn_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs/sgsn_vty.c')
-rw-r--r--src/gprs/sgsn_vty.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gprs/sgsn_vty.c b/src/gprs/sgsn_vty.c
index 18828525d..ab02d8175 100644
--- a/src/gprs/sgsn_vty.c
+++ b/src/gprs/sgsn_vty.c
@@ -44,6 +44,7 @@
#include <osmocom/abis/ipa.h>
#include <pdp.h>
+#include <gtp.h>
#include "../../bscconfig.h"
@@ -511,6 +512,10 @@ DEFUN(show_sgsn, show_sgsn_cmd, "show sgsn",
link->addr, link->port,
VTY_NEWLINE);
}
+ if (sgsn->gsn)
+ vty_out(vty, " GSN: signalling %s, user traffic %s%s",
+ inet_ntoa(sgsn->gsn->gsnc), inet_ntoa(sgsn->gsn->gsnu), VTY_NEWLINE);
+
/* FIXME: statistics */
return CMD_SUCCESS;
}