app/testpmd: fix MAC endian in flow command
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 4 May 2017 17:08:23 +0000 (19:08 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 May 2017 08:16:10 +0000 (10:16 +0200)
MAC addresses are implicitly handled in network order since they are
actually byte strings, however this is not properly enforced with MAC masks
provided as prefix lengths, which end up inverted on little endian
systems.

Fixes: 6df81b325fa4 ("app/testpmd: add items eth/vlan to flow command")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

No differences found