aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_api.c
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2017-12-19 02:09:32 +0100
committerOle Trøan <otroan@employees.org>2018-01-05 10:18:22 +0000
commitcba6936c45bc3265ae695e8266bdefc65e7a5116 (patch)
tree7deb7957ef6396d66d5549f5e49b155de4617616 /src/plugins/nat/nat_api.c
parente31d956d90882186070c174f987abc642b73d54e (diff)
Add support for 464XLAT NAT44 mode (VPP-1045)
Change-Id: I24e7a26972bbbfcea100292b212b29ae7a349335 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat_api.c')
-rw-r--r--src/plugins/nat/nat_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_api.c b/src/plugins/nat/nat_api.c
index 2397663270a..d0efb001843 100644
--- a/src/plugins/nat/nat_api.c
+++ b/src/plugins/nat/nat_api.c
@@ -442,6 +442,9 @@ static void
if (rv)
goto send_reply;
+ if (sm->out2in_dpo)
+ nat44_add_del_address_dpo (this_addr, mp->is_add);
+
increment_v4_address (&this_addr);
}