summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/interface_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c
index 00df77fd4a0..a635879932c 100644
--- a/src/vnet/interface_cli.c
+++ b/src/vnet/interface_cli.c
@@ -1705,7 +1705,7 @@ vnet_pcap_dispatch_trace_configure (vnet_pcap_dispatch_trace_args_t * a)
if (a->status)
{
- if (pp->pcap_enable == 0)
+ if (pp->pcap_enable)
{
vlib_cli_output
(vm, "pcap %s dispatch capture enabled: %d of %d pkts...",