aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp_vty.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-09-26 23:30:44 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-27 14:44:30 +0200
commit8a9f92bbea44e20baa0004b9b27314a87bbd3f98 (patch)
tree683483dd9b27839740106e2db5864247ba583a46 /src/sccp_vty.c
parent4a3e8f5b19c2b9fae62ae7f567657c7e3091fdbb (diff)
sccp_vty: define SCCP_STR once
Define SCCP_STR in sccp_internal.h, because I know that I want to also use it in osmo_ss7_vty.c. Fix "Signaling" to "Signalling" upon copying the old string. Change-Id: Ic93e4771147070a9222c73f80b5f7c29ae7eec35
Diffstat (limited to 'src/sccp_vty.c')
-rw-r--r--src/sccp_vty.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/sccp_vty.c b/src/sccp_vty.c
index bcedbb6..2727ccc 100644
--- a/src/sccp_vty.c
+++ b/src/sccp_vty.c
@@ -54,8 +54,7 @@ static void show_user(struct vty *vty, struct osmo_sccp_user *user)
DEFUN(show_sccp_users, show_sccp_users_cmd,
"show cs7 instance <0-15> sccp users",
- SHOW_STR CS7_STR INST_STR INST_STR
- "Signaling Connection Control Part\n"
+ SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR
"Show List of SCCP Users registered\n")
{
int id = atoi(argv[0]);
@@ -83,8 +82,7 @@ DEFUN(show_sccp_users, show_sccp_users_cmd,
DEFUN(show_sccp_user_ssn, show_sccp_user_ssn_cmd,
"show cs7 instance <0-15> sccp ssn <0-65535>",
- SHOW_STR CS7_STR INST_STR INST_STR
- "Signaling Connection Control Part\n"
+ SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR
"Show List of SCCP Users registered\n")
{
int id = atoi(argv[0]);
@@ -118,8 +116,7 @@ DEFUN(show_sccp_user_ssn, show_sccp_user_ssn_cmd,
DEFUN(show_sccp_connections, show_sccp_connections_cmd,
"show cs7 instance <0-15> sccp connections",
- SHOW_STR CS7_STR INST_STR INST_STR
- "Signaling Connection Control Part\n"
+ SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR
"Show List of SCCP Users registered\n")
{
int id = atoi(argv[0]);