From: Intel Date: Wed, 19 Dec 2012 23:00:00 +0000 (+0100) Subject: app/testpmd: fix fdir ipv4 filter X-Git-Tag: spdx-start~11321 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cf808da4bd511ebad5777dd5a3f03201dd609ea8;p=dpdk.git app/testpmd: fix fdir ipv4 filter Signed-off-by: Intel --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 70718af666..03ad3f44e2 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -217,7 +217,7 @@ static void cmd_help_parsed(__attribute__((unused)) void *parsed_result, " ip_src_address port_src dst ip_dst_address port_dst\n" " flexbytes flexbytes_values vlan vlan_id soft soft_id\n" "- set_masks_filter port_id only_ip_flow 0|1 src_mask\n" - " ip_src_mask port_src_mask dst_mask ip_dst_mask\n" + " ip_src_mask port_src_mask dst_mask ip_dst_mask\n" " port_dst_mask flexbytes 0|1 vlan_id 0|1 vlan_prio 0|1\n" "- set_ipv6_masks_filter port_id only_ip_flow 0|1 src_mask\n" " ip_src_mask port_src_mask dst_mask ip_dst_mask\n" @@ -1481,7 +1481,7 @@ cmdline_parse_token_num_t cmd_pkt_filter_masks_port_src_mask = port_src_mask, UINT16); cmdline_parse_token_string_t cmd_pkt_filter_masks_dst_mask = TOKEN_STRING_INITIALIZER(struct cmd_pkt_filter_masks_result, - src_mask, "dst_mask"); + dst_mask, "dst_mask"); cmdline_parse_token_num_t cmd_pkt_filter_masks_ip_dst_mask = TOKEN_NUM_INITIALIZER(struct cmd_pkt_filter_masks_result, ip_dst_mask, UINT32);