summaryrefslogtreecommitdiffstats
path: root/src/vlib/log.c
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2023-07-26 13:48:20 +0200
committerVratko Polak <vrpolak@cisco.com>2023-07-26 13:48:20 +0200
commite9ea7d5216ce462481ce34e54633017fd31e70db (patch)
tree4b19821b292901d45332285d9d1e4596ef6a6974 /src/vlib/log.c
parent116392b1742e86440c6a194170c1c9bca1314fe1 (diff)
vlib: rename vnet_log_get_class_data
It is a function in vlib, so no reason to mention vnet. Type: fix Fixes: bf179a91d8d224c64d08643a2bb52580f68ce96b Change-Id: Ic5f601d94d88b667f7ce44a017a0e1d5b4db5da1 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src/vlib/log.c')
-rw-r--r--src/vlib/log.c2
1 files changed, 1 insertions, 1 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)