ovs-vsctl: Verify correct record in cmd_get_fail_mode() for VLAN bridges.
authorBen Pfaff <blp@nicira.com>
Tue, 17 Apr 2012 20:44:51 +0000 (13:44 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Apr 2012 19:53:47 +0000 (12:53 -0700)
commitd655c728e3ed88b2a09883980507de1652f60e91
treee2e577cb954d9308e5b156281749ece18119be74
parent3d192f8e5655cbffe50356f46bd8fd8c3e8875b0
ovs-vsctl: Verify correct record in cmd_get_fail_mode() for VLAN bridges.

A VLAN bridge uses its parent's fail-mode, so checking the fail-mode should
verify the parent's bridge record.

This fixes a bug, but it is unlikely to ever have caused a real problem for
users.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-vsctl.c