diff --git a/src/gb_proxy_vty.c b/src/gb_proxy_vty.c index 976ac125..fc2e8f19 100644 --- a/src/gb_proxy_vty.c +++ b/src/gb_proxy_vty.c @@ -198,8 +198,9 @@ DEFUN(logging_fltr_bvc, return CMD_SUCCESS; } -DEFUN(show_gbproxy, show_gbproxy_cmd, "show gbproxy (bss|sgsn) [stats]", +DEFUN(show_gbproxy_bvc, show_gbproxy_bvc_cmd, "show gbproxy bvc (bss|sgsn) [stats]", SHOW_STR "Display information about the Gb proxy\n" + "Show BSSGP Virtual Connections\n" "Display BSS-side BVCs\n" "Display SGSN-side BVCs\n" "Show statistics\n") @@ -334,7 +335,7 @@ DEFUN(delete_gb_nsei, delete_gb_nsei_cmd, int gbproxy_vty_init(void) { - install_element_ve(&show_gbproxy_cmd); + install_element_ve(&show_gbproxy_bvc_cmd); install_element_ve(&show_gbproxy_links_cmd); install_element_ve(&logging_fltr_bvc_cmd); diff --git a/tests/vty_test_runner.py b/tests/vty_test_runner.py index be40abc7..4fb67cb9 100755 --- a/tests/vty_test_runner.py +++ b/tests/vty_test_runner.py @@ -97,7 +97,7 @@ class TestVTYGbproxy(TestVTYBase): res = self.vty.command("show ns") self.assertTrue(res.find('UDP bind') >= 0) - res = self.vty.command("show gbproxy bss stats") + res = self.vty.command("show gbproxy bvc bss stats") self.assertTrue(res.find('GBProxy Global Statistics') >= 0) def testVtyDeletePeer(self):