summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Chernavin <achernavin@netgate.com>2020-12-09 05:59:21 -0500
committerMatthew Smith <mgsmith@netgate.com>2020-12-15 16:03:13 +0000
commit3dcf795cf07885285124eed88fb44fc7d70a28c6 (patch)
tree58460906f2c5c7e517f5f3b46031b927a9037264 /src
parentc06fe760548e4868d226ba74427e4fd176689ef3 (diff)
nat: set out2in-dpo during plugin enabling
Type: fix Change-Id: Ie41e2fb9393bf63099519150bb158b830d2c0d87 Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/nat/nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index 05c7afc2b16..e02a11a604f 100644
--- a/src/plugins/nat/nat.c
+++ b/src/plugins/nat/nat.c
@@ -2881,6 +2881,7 @@ nat44_plugin_enable (nat44_config_t c)
sm->endpoint_dependent = c.endpoint_dependent;
sm->static_mapping_only = c.static_mapping_only;
sm->static_mapping_connection_tracking = c.connection_tracking;
+ sm->out2in_dpo = c.out2in_dpo;
sm->forwarding_enabled = 0;
sm->mss_clamping = 0;