From: Intel Date: Wed, 19 Dec 2012 23:00:00 +0000 (+0100) Subject: app/testpmd: fix check on mac address X-Git-Tag: spdx-start~11320 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e9e0a8a23a445f5c5be120698a4b22f2c2abcd65;p=dpdk.git app/testpmd: fix check on mac address Signed-off-by: Intel --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 03ad3f44e2..a418cf4a92 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -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 = {