aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-19 16:06:43 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-19 16:06:43 +0800
commitd8138c43a1a8fc85f2783b442df7374f18a4ea36 (patch)
treea09e44eedad227077502118b7b1ef2dc89453b7d
parent46d9b9447722e2a433b1a7497bff895eb7b2ae84 (diff)
nat: Make sccp/bsc show connections more Cisco like...
Second attempt to use a syntax more comparable to 'Cisco', I have never used such a system... let us see how this is going.
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index f35dc808..a03b5d17 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -81,8 +81,8 @@ static int config_write_bsc(struct vty *vty)
}
-DEFUN(show_sccp, show_sccp_cmd, "sccp connections show",
- "Display information about current SCCP connections")
+DEFUN(show_sccp, show_sccp_cmd, "show sccp connections",
+ SHOW_STR "Display information about current SCCP connections")
{
struct sccp_connections *con;
llist_for_each_entry(con, &_nat->sccp_connections, list_entry) {
@@ -98,8 +98,8 @@ DEFUN(show_sccp, show_sccp_cmd, "sccp connections show",
return CMD_SUCCESS;
}
-DEFUN(show_bsc, show_bsc_cmd, "bsc connections show",
- "Display information about current BSCs")
+DEFUN(show_bsc, show_bsc_cmd, "show bsc connections",
+ SHOW_STR "Display information about current BSCs")
{
struct bsc_connection *con;
struct sockaddr_in sock;