X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fipsec.c;h=c882a628602d164406d60bb10557cd3a68e353ab;hb=fc91a17600cb0ba1ef5074338eb30875630940bf;hp=d15bfec1b9eee1b2262dc89c8db379f62ea48bc2;hpb=a33db2528485ac39e8987bec7b138dbdad21dc5a;p=vpp.git diff --git a/src/vnet/ipsec/ipsec.c b/src/vnet/ipsec/ipsec.c index d15bfec1b9e..c882a628602 100644 --- a/src/vnet/ipsec/ipsec.c +++ b/src/vnet/ipsec/ipsec.c @@ -78,6 +78,8 @@ ipsec_set_interface_spd (vlib_main_t * vm, u32 sw_if_index, u32 spd_id, vnet_feature_enable_disable ("ip6-output", "ipsec-output-ip6", sw_if_index, is_add, 0, 0); + config.spd_index = spd_index; + /* enable IPsec on RX */ vnet_feature_enable_disable ("ip4-unicast", "ipsec-input-ip4", sw_if_index, is_add, &config, sizeof (config));