app/testpmd: fix MAC address parser for flow rule
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 22 Jul 2019 16:58:32 +0000 (17:58 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commitbaa4f61a35e8cf2f1ac23b7aa45f28a86e3791a9
tree633638ccfe76b255a09a214a8fb318cef5331b00
parent4fe1af80dd50bc44ac8ff2f395e8584f305b879c
app/testpmd: fix MAC address parser for flow rule

MAC address parsing was causing failure [1],
this patch partially reverts the commit
commit b5ddce8959b2 ("app/testpmd: use new ethernet address parser")

[1]
testpmd> flow validate 0  priority  2 ingress group 0 pattern eth dst
is 98:03:9B:5C:D9:00 / end actions queue index  0 / end
Bad arguments

Fixes: b5ddce8959b2 ("app/testpmd: use new ethernet address parser")

Reported-by: Raslan Darawsheh <rasland@mellanox.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Raslan Darawsheh <rasland@mellanox.com>
app/test-pmd/cmdline_flow.c