ovs-vsctl: Print correct fail-mode
authorJustin Pettit <jpettit@nicira.com>
Tue, 12 Jan 2010 00:57:29 +0000 (16:57 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 12 Jan 2010 01:07:19 +0000 (17:07 -0800)
commitd35a4ea82fb76398025d833d30d11d0d68050e56
treeaa5fa551e0e7d813a3022bb897a2976142766f8f
parent3603f8da20f495611b077e3056db75d0cf8574fb
ovs-vsctl: Print correct fail-mode

When printing the fail-mode, ovs-vsctl would always attempt to print the
top-level one--even if it didn't exist.  So, in addition to sometimes
being wrong, it could cause segfaults.

Thanks to Peter Balland for reporting the error.

Bug #2374
utilities/ovs-vsctl.c