summaryrefslogtreecommitdiffstats
path: root/include/trace/events/fib6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/fib6.h')
-rw-r--r--include/trace/events/fib6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/fib6.h b/include/trace/events/fib6.h
index 4cf6bac4686d..d60096cddb2a 100644
--- a/include/trace/events/fib6.h
+++ b/include/trace/events/fib6.h
@@ -37,7 +37,7 @@ TRACE_EVENT(fib6_table_lookup,
__entry->tb_id = tb_id;
__entry->oif = flp->flowi6_oif;
__entry->iif = flp->flowi6_iif;
- __entry->tos = flp->flowi6_tos;
+ __entry->tos = ip6_tclass(flp->flowlabel);
__entry->scope = flp->flowi6_scope;
__entry->flags = flp->flowi6_flags;