summaryrefslogtreecommitdiffstats
path: root/src/vnet/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/misc.c')
-rw-r--r--src/vnet/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/misc.c b/src/vnet/misc.c
index 18d4651cff3..d1dcd6ecb23 100644
--- a/src/vnet/misc.c
+++ b/src/vnet/misc.c
@@ -86,6 +86,9 @@ vnet_main_init (vlib_main_t * vm)
vnm->local_interface_hw_if_index = hw_if_index;
vnm->local_interface_sw_if_index = hw->sw_if_index;
+ vnm->pcap.current_filter_function =
+ vlib_is_packet_traced_default_function ();
+
return 0;
}