ovs-vsctl: Fix segfault with fake bridges.
authorBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 23:53:43 +0000 (15:53 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 23:53:43 +0000 (15:53 -0800)
commit175106cbf653dde9668f0401ff573428974f62fe
tree2f22fc3311f5eddf130ba7a4cf7bbf573063c65a
parent8419883d698965962e37b024cfb7f2f0ccba376f
ovs-vsctl: Fix segfault with fake bridges.

A fake bridge has no br_cfg, so we can't dereference it.

There is a similar problem in cmd_set_controller() and
cmd_del_controller() but this commit does not fix it.
utilities/ovs-vsctl.c