summaryrefslogtreecommitdiffstats
path: root/src/vnet/unix/gdb_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/unix/gdb_funcs.c')
-rw-r--r--src/vnet/unix/gdb_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/unix/gdb_funcs.c b/src/vnet/unix/gdb_funcs.c
index fc61c54f82f..ce8db3a8ae3 100644
--- a/src/vnet/unix/gdb_funcs.c
+++ b/src/vnet/unix/gdb_funcs.c
@@ -272,8 +272,8 @@ gdb_show_traces ()
goto done;
}
- s = format (s, "Packet %d\n%U\n\n", i + 1,
- format_vlib_trace, vlib_mains[0], traces[i]);
+ s = format (s, "Packet %d\n%U\n\n", i + 1, format_vlib_trace,
+ vlib_get_first_main (), traces[i]);
}
done: