nat: set out2in-dpo during plugin enabling 54/30354/2
authorAlexander Chernavin <achernavin@netgate.com>
Wed, 9 Dec 2020 10:59:21 +0000 (05:59 -0500)
committerMatthew Smith <mgsmith@netgate.com>
Tue, 15 Dec 2020 16:03:13 +0000 (16:03 +0000)
Type: fix
Change-Id: Ie41e2fb9393bf63099519150bb158b830d2c0d87
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/plugins/nat/nat.c

index 05c7afc..e02a11a 100644 (file)
@@ -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;