Change in osmo-upf[master]: vty: revert rename of 'show gtp'
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-upf/+/30258 ) Change subject: vty: revert rename of 'show gtp' ...................................................................... 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(-) git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/58/30258/1 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 https://gerrit.osmocom.org/c/osmo-upf/+/30258 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: I8f619d4ddda3efffb62cf594878d3166cb37fe45 Gerrit-Change-Number: 30258 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
neels