aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-05-21 16:20:11 -0500
committerOle Trøan <otroan@employees.org>2019-05-28 10:14:50 +0000
commit7704afe2c20a2c2a240874209b5803e22187b620 (patch)
tree5cacdd6ee00fbb49bf08e4eb077aee92a20bee55 /src/plugins
parentf03becacfedc8a35d8cb711dcaf4fbeb5ba293cc (diff)
nat44: make nat44-ed-hairpin-src follow arc
It defaults to using interface-output as the next node. If other output features are enabled on the ip4-output arc, they get skipped. That makes me sad. Change-Id: I3f4d3320fb8092918e1e0663c66baca1c74c26ec Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/nat/nat44_hairpinning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat44_hairpinning.c b/src/plugins/nat/nat44_hairpinning.c
index daa96ffe714..81478f43c52 100644
--- a/src/plugins/nat/nat44_hairpinning.c
+++ b/src/plugins/nat/nat44_hairpinning.c
@@ -826,7 +826,7 @@ snat_hairpin_src_fn_inline (vlib_main_t * vm,
b0 = vlib_get_buffer (vm, bi0);
sw_if_index0 = vnet_buffer (b0)->sw_if_index[VLIB_RX];
- next0 = SNAT_HAIRPIN_SRC_NEXT_INTERFACE_OUTPUT;
+ vnet_feature_next (&next0, b0);
/* *INDENT-OFF* */
pool_foreach (i, sm->output_feature_interfaces,