From d8138c43a1a8fc85f2783b442df7374f18a4ea36 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 19 Apr 2010 16:06:43 +0800 Subject: 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. --- openbsc/src/nat/bsc_nat_vty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c index f35dc8087..a03b5d178 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; -- cgit v1.2.3