diff options
Diffstat (limited to 'src/vnet/policer')
-rw-r--r-- | src/vnet/policer/policer.c | 2 | ||||
-rw-r--r-- | src/vnet/policer/policer.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/policer/policer.c b/src/vnet/policer/policer.c index 5a7b7711661..37380034fd2 100644 --- a/src/vnet/policer/policer.c +++ b/src/vnet/policer/policer.c @@ -16,6 +16,8 @@ #include <vnet/policer/policer.h> #include <vnet/classify/vnet_classify.h> +vnet_policer_main_t vnet_policer_main; + clib_error_t * policer_add_del (vlib_main_t * vm, u8 * name, diff --git a/src/vnet/policer/policer.h b/src/vnet/policer/policer.h index 8e2d7c79b7c..b7c1d616cef 100644 --- a/src/vnet/policer/policer.h +++ b/src/vnet/policer/policer.h @@ -44,7 +44,7 @@ typedef struct vnet_main_t *vnet_main; } vnet_policer_main_t; -vnet_policer_main_t vnet_policer_main; +extern vnet_policer_main_t vnet_policer_main; typedef enum { |