ether: fix local address check
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Aug 2014 15:53:51 +0000 (17:53 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Aug 2014 15:56:54 +0000 (17:56 +0200)
commit030df0102ce762360df343a63bbcfbbbc30872b1
tree8e80c374a2d1af43e7670cfab5064ef29af396f6
parent06c1bfd94ae4892612bd07c05087faa29ae4ed05
ether: fix local address check

cppcheck reports show that is_local_admin_ether_addr() was broken:
Expression '(X & 0x2) == 0x1' is always false

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/rte_ether.h