packets: Fix eth_addr_equal_except().
authorEthan Jackson <ethan@nicira.com>
Thu, 7 Jun 2012 00:37:46 +0000 (17:37 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 7 Jun 2012 00:37:46 +0000 (17:37 -0700)
commit3b842fc2f0f8367d7d1350a80f7c29edca0925b5
tree83964ebe8d8093b19c4eff056b35c56f3bc44e20
parentaecfb4af7e87a78dfec44db1fa82c4463a7f8309
packets: Fix eth_addr_equal_except().

It turns out that eth_addr_equal_except() computed the exact
opposite of what it purported to.  It returned true if the two
arguments where *not* equal.  This is extremely confusing, so this
patch changes it.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/classifier.c
lib/packets.h
tests/test-classifier.c