Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
wireguard: use the same udp-port for multi-tunnel
[vpp.git]
/
src
/
plugins
/
wireguard
/
wireguard_peer.c
diff --git
a/src/plugins/wireguard/wireguard_peer.c
b/src/plugins/wireguard/wireguard_peer.c
index
5e2011b
..
d4a85a2
100644
(file)
--- a/
src/plugins/wireguard/wireguard_peer.c
+++ b/
src/plugins/wireguard/wireguard_peer.c
@@
-207,6
+207,13
@@
wg_peer_adj_walk (adj_index_t ai, void *data)
ADJ_WALK_RC_STOP;
}
+walk_rc_t
+wg_peer_if_delete (index_t peeri, void *data)
+{
+ wg_peer_remove (peeri);
+ return (WALK_CONTINUE);
+}
+
static int
wg_peer_fill (vlib_main_t *vm, wg_peer_t *peer, u32 table_id,
const ip46_address_t *dst, u16 port,