Don't show all tunnels

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-07-19 22:40:31 +00:00
parent ed82531fc0
commit 67ea65b1a8
3 changed files with 28 additions and 43 deletions

View File

@@ -299,6 +299,7 @@ gt_bind(int argc, char **argv)
res.ret = errno;
break;
case CTL_STATUS:
memcpy(res.status.tun_name, tun_name, sizeof(tun_name)); // XXX
res.status.pid = pid;
res.status.mtu = mtu;
res.status.chacha = chacha;