From eaaf57ee5a877c4744afb899e46536e5a281cf7a Mon Sep 17 00:00:00 2001 From: Deepak S Date: Mon, 14 Aug 2017 12:14:16 +0530 Subject: Moving printf under cgnapt_dbg_print JIRA: SAMPLEVNF-71 Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa Signed-off-by: Deepak S --- common/VIL/l2l3_stack/lib_arp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/VIL/l2l3_stack') 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 -- cgit 1.2.3-korg