mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-upf.git
synced 2025-11-02 04:53:24 +00:00
VTY: show gtp: still list tunmap if no tunend device is open
When there was only tunend implemented, it made sense to show on VTY when no GTP kernel device was open. Since we now also have tunmap via netfilter, drop the early exit. Change-Id: I9a43a240f2ca55cf2ca237a83aa13e68a625d6ea
This commit is contained in:
@@ -294,11 +294,6 @@ DEFUN(show_gtp, show_gtp_cmd,
|
||||
struct up_peer *peer;
|
||||
int count = 0;
|
||||
|
||||
if (!upf_gtp_dev_first()) {
|
||||
vty_out(vty, "No GTP device open%s", VTY_NEWLINE);
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
llist_for_each_entry(peer, &g_upf->pfcp.ep->peers, entry) {
|
||||
struct up_session *session;
|
||||
int bkt;
|
||||
|
||||
Reference in New Issue
Block a user