summaryrefslogtreecommitdiffstats
path: root/common/VIL
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-08-14 12:14:16 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-08-14 12:25:46 +0530
commiteaaf57ee5a877c4744afb899e46536e5a281cf7a (patch)
tree8a1dd00160276907a7ff3df6b32b0712ce9646e9 /common/VIL
parent71f3317e3bab69a75ef814b187dc704198455bca (diff)
Moving printf under cgnapt_dbg_print
JIRA: SAMPLEVNF-71 Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'common/VIL')
-rw-r--r--common/VIL/l2l3_stack/lib_arp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/VIL/l2l3_stack/lib_arp.c b/common/VIL/l2l3_stack/lib_arp.c
index 0c597301..c37e486b 100644
--- a/common/VIL/l2l3_stack/lib_arp.c
+++ b/common/VIL/l2l3_stack/lib_arp.c
@@ -1855,7 +1855,8 @@ void process_arpicmp_pkt(struct rte_mbuf *pkt, l2_phy_interface_t *port)
DYNAMIC_ARP);
} else {
- RTE_LOG(INFO, LIBARP,"ARP requested IP address mismatches interface IP - discarding\n");
+ if (ARPICMP_DEBUG)
+ RTE_LOG(INFO, LIBARP,"ARP requested IP address mismatches interface IP - discarding\n");
}
}
/// revise conditionals to allow processing of requests with target ip = this ip and