From 58e04d8f08a5d9395e80bbb6b75783cf6ea26970 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 17 Jan 2024 13:10:51 +0100 Subject: [PATCH] cli: Also show remote tunnel id --- cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.c b/cli.c index 869a385..a2ef456 100644 --- a/cli.c +++ b/cli.c @@ -657,6 +657,7 @@ static int cmd_show_tunnels(struct cli_def *cli, const char *command, char **arg continue; } cli_print(cli, "\r\nTunnel %d:", t); + cli_print(cli, "\tRemote ID:\t%d", tunnel[t].far); cli_print(cli, "\tState:\t\t%s", states[tunnel[t].state]); cli_print(cli, "\tHostname:\t%s", tunnel[t].hostname[0] ? tunnel[t].hostname : "(none)"); cli_print(cli, "\tRemote IP:\t%s", fmtaddr(htonl(tunnel[t].ip), 0));