neels submitted this change.
vty: revert rename of 'show gtp'
Rename 'show tunend' back to 'show gtp'.
Clarify the VTY doc.
While renaming 'gtp' to 'tunend', i also renamed the general 'show gtp'
VTY command by accident / by misunderstanding. This command shows all
GTP tunnel state, not just the tunend state.
Reverts a small portion of commit "VTY: rename 'gtp' to 'tunend'"
95eb2c6a8949b3c0971e5c7d7a743bc72dffc4a6
I49ac7b1f8b5b74f586edfed1dfb29f9af55a521b
Change-Id: I8f619d4ddda3efffb62cf594878d3166cb37fe45
---
M src/osmo-upf/upf_vty.c
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/osmo-upf/upf_vty.c b/src/osmo-upf/upf_vty.c
index f92ab05..f57429c 100644
--- a/src/osmo-upf/upf_vty.c
+++ b/src/osmo-upf/upf_vty.c
@@ -286,10 +286,10 @@
return CMD_SUCCESS;
}
-DEFUN(show_tunend, show_tunend_cmd,
- "show tunend",
+DEFUN(show_gtp, show_gtp_cmd,
+ "show gtp",
SHOW_STR
- "Active GTP tunnels and forwardings\n")
+ "Active GTP tunnels, both tunend and tunmap\n")
{
struct up_peer *peer;
int count = 0;
@@ -351,7 +351,7 @@
OSMO_ASSERT(g_upf != NULL);
install_element_ve(&show_pdr_cmd);
- install_element_ve(&show_tunend_cmd);
+ install_element_ve(&show_gtp_cmd);
install_element_ve(&show_session_cmd);
install_node(&cfg_pfcp_node, config_write_pfcp);
To view, visit change 30258. To unsubscribe, or for help writing mail filters, visit settings.