aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2021-09-22 17:17:28 +0200
committerDamjan Marion <dmarion@me.com>2021-09-23 12:16:03 +0000
commit87f478be8823e563b9c67972c6ff526fe4858cba (patch)
tree5326f9054c4b691b2e7c5af39f727787a5ca4ec7 /src
parentd60b432b138eee36606c4f400ee7e3aa3fd5b207 (diff)
wireguard: fix wg-output-tun feature configuration
The removed code caused the feature to be wrongly removed on the wg interface. Type: fix Signed-off-by: Aloys Augustin <aloaugus@cisco.com> Change-Id: I998e01ec231527128eaeae78bcc7576ac00e5b12
Diffstat (limited to 'src')
-rw-r--r--src/plugins/wireguard/wireguard_peer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/wireguard/wireguard_peer.c b/src/plugins/wireguard/wireguard_peer.c
index f47019b110a..0c93a25f4d7 100644
--- a/src/plugins/wireguard/wireguard_peer.c
+++ b/src/plugins/wireguard/wireguard_peer.c
@@ -347,9 +347,6 @@ wg_peer_remove (index_t peeri)
wgi = wg_if_get (wg_if_find_by_sw_if_index (peer->wg_sw_if_index));
wg_if_peer_remove (wgi, peeri);
- vnet_feature_enable_disable ("ip4-output", "wg-output-tun",
- peer->wg_sw_if_index, 0, 0, 0);
-
noise_remote_clear (wmp->vlib_main, &peer->remote);
wg_peer_clear (wmp->vlib_main, peer);
pool_put (wg_peer_pool, peer);