app/testpmd: fix check on mac address
authorIntel <intel.com>
Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:54:18 +0000 (15:54 +0200)
Signed-off-by: Intel
app/test-pmd/cmdline.c

index 03ad3f4..a418cf4 100644 (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 = {