aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/log.c2
-rw-r--r--src/vlib/log.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/log.c b/src/vlib/log.c
index 01149a8af49..387c202fc9c 100644
--- a/src/vlib/log.c
+++ b/src/vlib/log.c
@@ -74,7 +74,7 @@ u8 *
format_vlib_log_class (u8 * s, va_list * args)
{
vlib_log_class_t ci = va_arg (*args, vlib_log_class_t);
- vlib_log_class_data_t *c = vnet_log_get_class_data (ci);
+ vlib_log_class_data_t *c = vlib_log_get_class_data (ci);
vlib_log_subclass_data_t *sc = vlib_log_get_subclass_data (ci);
if (sc->name)
diff --git a/src/vlib/log.h b/src/vlib/log.h
index d9eb841a9a3..45e2b59946c 100644
--- a/src/vlib/log.h
+++ b/src/vlib/log.h
@@ -150,7 +150,7 @@ __vlib_add_log_registration_##x (void) \
__VA_ARGS__ vlib_log_class_registration_t x
static_always_inline vlib_log_class_data_t *
-vnet_log_get_class_data (vlib_log_class_t ci)
+vlib_log_get_class_data (vlib_log_class_t ci)
{
vlib_log_main_t *lm = &log_main;
return vec_elt_at_index (lm->classes, (ci >> 16));
@@ -159,7 +159,7 @@ vnet_log_get_class_data (vlib_log_class_t ci)
static_always_inline vlib_log_subclass_data_t *
vlib_log_get_subclass_data (vlib_log_class_t ci)
{
- vlib_log_class_data_t *c = vnet_log_get_class_data (ci);
+ vlib_log_class_data_t *c = vlib_log_get_class_data (ci);
return vec_elt_at_index (c->subclasses, (ci & 0xffff));
}