diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-07-16 07:54:10 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-08-13 08:34:33 +0000 |
commit | de118da58e80aec43f4b816a1ea957634a8bc07c (patch) | |
tree | 16de15d96990fdc6dd9eaf17be405daa2980d790 /src/plugins/nat/nat66/nat66.h | |
parent | fbecd936bd40e590031ec6d7ff81c3f8827f9f18 (diff) |
nat: remove non-error error counters
Some statistics counters were implemented as error counters. Move them
to stat segment, where they belong.
Type: improvement
Change-Id: I5600bec1b4e0496282297374ec1e79d909cdaf8a
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat66/nat66.h')
-rw-r--r-- | src/plugins/nat/nat66/nat66.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nat/nat66/nat66.h b/src/plugins/nat/nat66/nat66.h index 9757f030032..42dd7ca0eb2 100644 --- a/src/plugins/nat/nat66/nat66.h +++ b/src/plugins/nat/nat66/nat66.h @@ -74,6 +74,9 @@ typedef struct u16 msg_id_base; u8 log_level; + + vlib_simple_counter_main_t in2out_packets; + vlib_simple_counter_main_t out2in_packets;; } nat66_main_t; #define nat66_elog(_level, _str) \ |