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:
parent
0575e9bad9
commit
54ebc4772b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue