From c224b272583e004226bb7371987dc4c7c48d74c1 Mon Sep 17 00:00:00 2001 From: Chuanshe Zhang Date: Tue, 18 Jan 2022 10:49:34 +0800 Subject: [PATCH] examples/flow_classify: fix failure message [ upstream commit 750c177980cb7642f1893a9ae4076b631fa6a98f ] Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application") Signed-off-by: Chuanshe Zhang Acked-by: Bernard Iremonger --- examples/flow_classify/flow_classify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flow_classify/flow_classify.c b/examples/flow_classify/flow_classify.c index 5fb86b50eb..7f0379e471 100644 --- a/examples/flow_classify/flow_classify.c +++ b/examples/flow_classify/flow_classify.c @@ -424,7 +424,7 @@ parse_ipv4_5tuple_rule(char *str, struct rte_eth_ntuple_filter *ntuple_filter) &ntuple_filter->dst_ip, &ntuple_filter->dst_ip_mask); if (ret != 0) { - flow_classify_log("failed to read source address/mask: %s\n", + flow_classify_log("failed to read destination address/mask: %s\n", in[CB_FLD_DST_ADDR]); return ret; }