diff options
author | Damjan Marion <damarion@cisco.com> | 2016-10-31 23:18:04 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-11-01 00:11:15 +0000 |
commit | 0cd695c7ad18cfe8794b1c669cdefd215f7a1b63 (patch) | |
tree | 6b28ae2a9f5c64ea928bbff721e930e9a8245c4b /plugins/snat-plugin/snat/out2in.c | |
parent | 277b89c946e6fdc764ee48726fcd3df1c189eda9 (diff) |
config: rename ip_config_main_t to vnet_feature_config_main_t
It will not be used for IP only...
Change-Id: I90ef3030aff7f9e24767553f019cabc1ea987126
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'plugins/snat-plugin/snat/out2in.c')
-rw-r--r-- | plugins/snat-plugin/snat/out2in.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/snat-plugin/snat/out2in.c b/plugins/snat-plugin/snat/out2in.c index 7601eb8dfdd..190350ada2b 100644 --- a/plugins/snat-plugin/snat/out2in.c +++ b/plugins/snat-plugin/snat/out2in.c @@ -285,7 +285,7 @@ snat_out2in_node_fn (vlib_main_t * vm, u32 pkts_processed = 0; snat_main_t * sm = &snat_main; ip_lookup_main_t * lm = sm->ip4_lookup_main; - ip_config_main_t * cm = &lm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT]; + vnet_feature_config_main_t * cm = &lm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT]; f64 now = vlib_time_now (vm); from = vlib_frame_vector_args (frame); @@ -854,7 +854,7 @@ snat_out2in_fast_node_fn (vlib_main_t * vm, u32 pkts_processed = 0; snat_main_t * sm = &snat_main; ip_lookup_main_t * lm = sm->ip4_lookup_main; - ip_config_main_t * cm = &lm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT]; + vnet_feature_config_main_t * cm = &lm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT]; from = vlib_frame_vector_args (frame); n_left_from = frame->n_vectors; |