wireguard: improve sending WG interface dump details 26/35426/2
authorJon Loeliger <jdl@netgate.com>
Wed, 23 Feb 2022 20:21:51 +0000 (14:21 -0600)
committerJon Loeliger <jdl@netgate.com>
Wed, 2 Mar 2022 17:50:55 +0000 (11:50 -0600)
commit6a2c6a0445b243e0dc7e0c37250527bfd90dd55d
tree2ca044ef485aa7f4ee1236672b8ea5d0ab5cf3da
parent30a6f8286e60914ca4eec3db3edae739b178a75b
wireguard: improve sending WG interface dump details

Include the user_instance in wireguard interface details.
In addition to dumping all wireguard interface details,
also allow selective dumping of just one interface.

Type: improvement
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: Iaf1093c6ae3eb00a685f34b2e0171285b02fae2b
src/plugins/wireguard/wireguard.api
src/plugins/wireguard/wireguard_api.c