diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2020-09-23 10:43:16 +0200 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-09-23 12:02:12 +0000 |
commit | d63f73b8393b086d21a5197d1e02fac243867a93 (patch) | |
tree | 7442b7c98fc64f220070216ccf8d4f9bdf59d49a /src/plugins/cnat/cnat_api.c | |
parent | 8eb69407c8075e101b773d5a27ea21bd3fc906d7 (diff) |
cnat: Disable default scanner process
Type: feature
Change-Id: Iba9d9f384eaa35c5522e828e3cbe4516416294db
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/cnat/cnat_api.c')
-rw-r--r-- | src/plugins/cnat/cnat_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cnat/cnat_api.c b/src/plugins/cnat/cnat_api.c index 014f75c8682..2049d440d46 100644 --- a/src/plugins/cnat/cnat_api.c +++ b/src/plugins/cnat/cnat_api.c @@ -265,6 +265,8 @@ vl_api_cnat_set_snat_addresses_t_handler (vl_api_cnat_set_snat_addresses_t vl_api_cnat_set_snat_addresses_reply_t *rmp; int rv = 0; + cnat_lazy_init (); + ip4_address_decode (mp->snat_ip4, &cnat_main.snat_ip4); ip6_address_decode (mp->snat_ip6, &cnat_main.snat_ip6); |