diff options
author | Brian Russell <brian@graphiant.com> | 2021-02-10 18:34:48 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-02-12 18:58:09 +0000 |
commit | bbccdc583c91c21ee4caf9043845468cd758ca9f (patch) | |
tree | 14d29d171ca00591d096377a56ebd8944f3e5169 /src/vnet/policer/policer.h | |
parent | b2aae75c1712b733f16e97bdb69e4b93f32de10c (diff) |
policer: tidy up
Convert old logging style to new and remove unused tracepoints.
Remove code always conditionally not compiled.
Make comment style consistent.
Type: improvement
Change-Id: I13339f28539cf190fb92be2d5c8020b6249319c8
Signed-off-by: Brian Russell <brian@graphiant.com>
Diffstat (limited to 'src/vnet/policer/policer.h')
-rw-r--r-- | src/vnet/policer/policer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/policer/policer.h b/src/vnet/policer/policer.h index 71910c423a6..4d253f749e8 100644 --- a/src/vnet/policer/policer.h +++ b/src/vnet/policer/policer.h @@ -42,6 +42,8 @@ typedef struct /* convenience */ vlib_main_t *vlib_main; vnet_main_t *vnet_main; + + vlib_log_class_t log_class; } vnet_policer_main_t; extern vnet_policer_main_t vnet_policer_main; |