diff options
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); |