aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gprs/sgsn_vty.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gprs/sgsn_vty.c b/src/gprs/sgsn_vty.c
index 63985bcd9..87c68842f 100644
--- a/src/gprs/sgsn_vty.c
+++ b/src/gprs/sgsn_vty.c
@@ -801,10 +801,14 @@ static void subscr_dump_full_vty(struct vty *vty, struct gprs_subscr *gsub, int
vty_out(vty, " Use count: %u%s", gsub->use_count, VTY_NEWLINE);
}
+#define RESET_SGSN_STATE_STR \
+ "Remove all known subscribers, MM contexts and flush BSSGP queues." \
+ " Useful only when running tests against the SGSN\n"
+
DEFUN_HIDDEN(reset_sgsn_state,
reset_sgsn_state_cmd,
"reset sgsn state",
- "Remove all known subscriber, MM ctx and flush BSSGP queues Useful when running tests against the SGSN")
+ RESET_SGSN_STATE_STR RESET_SGSN_STATE_STR RESET_SGSN_STATE_STR)
{
struct gprs_subscr *subscr, *tmp_subscr;
struct sgsn_mm_ctx *mm, *tmp_mm;