bridge: Fix VLAN selection mirroring logic.
authorBen Pfaff <blp@nicira.com>
Fri, 8 Apr 2011 19:52:23 +0000 (12:52 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 21:31:59 +0000 (14:31 -0700)
commitc100c5cadcfbaf2fb55720f94c385cc0955a520a
tree20bc99b211f45433acaa9170eb6ad185c25acff0
parent0fc2dcf0c768e23dc1cf359466b1e022b692c7c9
bridge: Fix VLAN selection mirroring logic.

The logic here did not make sense.  A packet arriving on a port is mirrored
if the port is a mirroring source port AND (not OR) the packet is in one of
the VLANs that is mirrored.

This test has been here since the mirroring code was introduced.  It seems
to me that it was never correct.
vswitchd/bridge.c