X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fipsec_tun.c;h=23598b7b085c9b11d59e4bf5973eb50043132ae3;hb=refs%2Fchanges%2F40%2F26540%2F2;hp=268f7783ebf363dba0994d1236d107d6c2853e64;hpb=77100efb37f7cb333f9ab55dc206bf1431e3ae50;p=vpp.git diff --git a/src/vnet/ipsec/ipsec_tun.c b/src/vnet/ipsec/ipsec_tun.c index 268f7783ebf..23598b7b085 100644 --- a/src/vnet/ipsec/ipsec_tun.c +++ b/src/vnet/ipsec/ipsec_tun.c @@ -817,8 +817,8 @@ static void ipsec_tun_protect_adj_delegate_adj_deleted (adj_delegate_t * ad) { /* remove our delegate */ - adj_delegate_remove (ad->ad_adj_index, ipsec_tun_adj_delegate_type); ipsec_tun_protect_add_adj (ad->ad_adj_index, INDEX_INVALID); + adj_delegate_remove (ad->ad_adj_index, ipsec_tun_adj_delegate_type); } static void