aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_ptclosure.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2022-02-17 12:42:19 -0600
committerMatthew Smith <mgsmith@netgate.com>2022-02-17 20:54:10 +0000
commit2273ffd8787a7ca11f4a2ccbb4dadd39b1a17026 (patch)
treec16193c10dabf62ad1a4027810c378b66ebb92e6 /src/vppinfra/test_ptclosure.c
parent7705b4916b6588de0caa594e2bfb684a8736d572 (diff)
wireguard: Fix wireguard device name to use user-instance
If the user supplies an instance number when creating a wireguard interface, it should be used in the device name. If no user-instance is given, the device instnce (tunnel number) is used. For example: vpp# wireguard create instance 17 listen-port 23023 src 1.2.3.4 private-key MDEwMjAzMDQwNTA2MDcwODA5MTAxMTEyMTMxNDE1MTY= wg17 Type: fix Fixes: edca1325cf296bd0f5ff422fc12de2ce7a7bad88 Signed-off-by: Jon Loeliger <jdl@netgate.com> Change-Id: Ibf51868bf7b4b9e8a3f85557d05667207873bc91
Diffstat (limited to 'src/vppinfra/test_ptclosure.c')
0 files changed, 0 insertions, 0 deletions