diff options
author | Ole Troan <otroan@employees.org> | 2024-07-31 09:50:31 +0200 |
---|---|---|
committer | Ole Troan <otroan@employees.org> | 2024-07-31 12:24:11 +0200 |
commit | f726ebd174a0dc171c50c897e5fdd21841fc55f9 (patch) | |
tree | c510bab7bfa7dfcc81093d94f6616714ecbf8a9c /src/plugins/npt66/npt66.api | |
parent | 4a65e0166be8d1422bbed3b7813c2c0b01fd19c2 (diff) |
npt66: replace clib_warnings() with error counters
Replace clib_warnings() in the forwarding path with
error counters.
Change-Id: Ie679d940f056eeddeb8a032c77fe9c2195490cfc
Signed-off-by: Ole Troan <otroan@employees.org>
Type: fix
Signed-off-by: Ole Troan <otroan@employees.org>
Diffstat (limited to 'src/plugins/npt66/npt66.api')
-rw-r--r-- | src/plugins/npt66/npt66.api | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/plugins/npt66/npt66.api b/src/plugins/npt66/npt66.api index 63640ac2097..dab09cda31f 100644 --- a/src/plugins/npt66/npt66.api +++ b/src/plugins/npt66/npt66.api @@ -36,5 +36,16 @@ counters npt66 { units "packets"; description "packet translation failed"; }; - + icmp6_checksum { + severity error; + type counter64; + units "packets"; + description "ICMP6 checksum validation failed"; + }; + icmp6_truncated { + severity error; + type counter64; + units "packets"; + description "ICMP6 packet truncated"; + }; };
\ No newline at end of file |