diff options
author | Matus Fabian <matfabia@cisco.com> | 2017-04-18 05:29:59 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-04-21 08:21:45 +0000 |
commit | 2f2db1c2021c5aae564d2783a33366527afb5fce (patch) | |
tree | 8dc4c75b51a6f1022c50ee21edd0f209c5f87815 /src/plugins/snat/snat_det.h | |
parent | 5fec1e8b2282f4d3d1d02556020254a84c3b6e3d (diff) |
CGN: IPFIX logging
maximum entries per user exceeded event
Change-Id: Ie35d7f40f55001e2ef4a38f934f176594f25b189
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/snat/snat_det.h')
-rw-r--r-- | src/plugins/snat/snat_det.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/snat/snat_det.h b/src/plugins/snat/snat_det.h index 45e36829a20..f4fdb256637 100644 --- a/src/plugins/snat/snat_det.h +++ b/src/plugins/snat/snat_det.h @@ -24,6 +24,7 @@ #include <vnet/ip/ip.h> #include <snat/snat.h> +#include <snat/snat_ipfix_logging.h> #define SNAT_DET_SES_PER_USER 1000 @@ -170,6 +171,7 @@ snat_det_ses_create (snat_det_map_t * dm, ip4_address_t * in_addr, } } + snat_ipfix_logging_max_entries_per_user (in_addr->as_u32); return 0; } |