TXRX: Initialize the debug flag to disable by default 13/37913/1
authorAnand B Jyoti <anand.b.jyoti@intel.com>
Fri, 21 Jul 2017 02:59:22 +0000 (08:29 +0530)
committerAnand B Jyoti <anand.b.jyoti@intel.com>
Fri, 21 Jul 2017 02:59:22 +0000 (08:29 +0530)
JIRA: SAMPLEVNF-66

The un-initialized global variable some time floods with debug
prints.

This patch inializes the variable to disable debug prints by
default.

Change-Id: I207a7dd1e85c19d3c10e935321b2fe39a46a5f59
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
common/VIL/pipeline_txrx/pipeline_txrx_be.c

index 0f9ec3d..2fcb4ad 100644 (file)
@@ -32,7 +32,7 @@
 #include "app.h"
 #include "lib_icmpv6.h"
 
-uint8_t TXRX_DEBUG;
+uint8_t TXRX_DEBUG = 0;
 int pkt_burst_cnt;