From 6a4ba909279664fe933e9f6c879c1cd3f26212fa Mon Sep 17 00:00:00 2001 From: fengbojiang Date: Fri, 17 Aug 2018 17:42:21 +0800 Subject: [PATCH] fix a traffic bug --- lib/ff_dpdk_if.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ff_dpdk_if.c b/lib/ff_dpdk_if.c index fa6cf0ce4..aae50985d 100644 --- a/lib/ff_dpdk_if.c +++ b/lib/ff_dpdk_if.c @@ -1130,11 +1130,10 @@ handle_route_msg(struct ff_msg *msg) } } -static struct ff_top_args ff_status; static inline void handle_top_msg(struct ff_msg *msg) { - msg->top = ff_status; + msg->top = ff_top_status; msg->result = 0; }