diff options
author | Matus Fabian <matfabia@cisco.com> | 2018-01-22 03:41:53 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-01-31 17:29:13 +0000 |
commit | f2a23cc8602525a325eaeaae6aca5e18882c33da (patch) | |
tree | 272d142e1e71d80151a1ba9d68314a31468d9803 /src/plugins/nat/nat.c | |
parent | f7ad5cbe819533523169e8a88876b94b9f38789c (diff) |
NAT66 1:1 mapping (VPP-1108)
Support the 1:1 translation of source address for IPv6
Change-Id: I934d18e5ec508bf7422d796ee5f172b79c048011
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat.c')
-rw-r--r-- | src/plugins/nat/nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c index ef740d9d12b..314fadf613d 100644 --- a/src/plugins/nat/nat.c +++ b/src/plugins/nat/nat.c @@ -24,6 +24,7 @@ #include <nat/nat_ipfix_logging.h> #include <nat/nat_det.h> #include <nat/nat64.h> +#include <nat/nat66.h> #include <nat/dslite.h> #include <nat/nat_reass.h> #include <vnet/fib/fib_table.h> @@ -1779,6 +1780,8 @@ static clib_error_t * snat_init (vlib_main_t * vm) dslite_init(vm); + nat66_init(); + /* Init virtual fragmenentation reassembly */ return nat_reass_init(vm); } |