app/testpmd: fix check on mac address

Signed-off-by: Intel
This commit is contained in:
Intel 2012-12-20 00:00:00 +01:00 committed by Thomas Monjalon
parent cf808da4bd
commit e9e0a8a23a

View File

@ -2335,7 +2335,7 @@ cmdline_parse_token_string_t cmd_mac_addr_what =
"add#remove");
cmdline_parse_token_num_t cmd_mac_addr_portnum =
TOKEN_NUM_INITIALIZER(struct cmd_mac_addr_result, port_num, UINT8);
cmdline_parse_token_string_t cmd_mac_addr_addr =
cmdline_parse_token_etheraddr_t cmd_mac_addr_addr =
TOKEN_ETHERADDR_INITIALIZER(struct cmd_mac_addr_result, address);
cmdline_parse_inst_t cmd_mac_addr = {