diff options
author | Matus Fabian <matfabia@cisco.com> | 2016-11-15 06:08:51 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-11-15 21:50:59 +0000 |
commit | 08a6f01590d768bb4d8d96c8ca4678e98fc2666d (patch) | |
tree | 8da6d9c94d5a723b20a341ed0a67e23c7e19da56 /vnet/vnet/ip/ip4_forward.c | |
parent | aaef1eb92bead2411dfe888c05839861538e353f (diff) |
feature: convert ipsec output to new feature code
Change-Id: Ia287298bac76c8e6bf760d48c1e1e697de52999c
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'vnet/vnet/ip/ip4_forward.c')
-rw-r--r-- | vnet/vnet/ip/ip4_forward.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vnet/vnet/ip/ip4_forward.c b/vnet/vnet/ip/ip4_forward.c index 6d3dd88b176..85ad10e62b6 100644 --- a/vnet/vnet/ip/ip4_forward.c +++ b/vnet/vnet/ip/ip4_forward.c @@ -933,6 +933,12 @@ VNET_FEATURE_ARC_INIT (ip4_output, static) = VNET_FEATURE_INIT (ip4_source_and_port_range_check_tx, static) = { .arc_name = "ip4-output", .node_name = "ip4-source-and-port-range-check-tx", + .runs_before = VNET_FEATURES ("ipsec-output-ip4"), +}; + +VNET_FEATURE_INIT (ip4_ipsec_output, static) = { + .arc_name = "ip4-output", + .node_name = "ipsec-output-ip4", .runs_before = VNET_FEATURES ("interface-output"), }; |