vswitchd: Initialize cfg properly and check return values
authorJustin Pettit <jpettit@nicira.com>
Sat, 1 Aug 2009 08:03:23 +0000 (01:03 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 3 Aug 2009 18:24:23 +0000 (11:24 -0700)
commit110d69af04a250cc2560644edd65a27158fa45e3
tree20fe5f067b9c02f8a1c8c3d169daae8b5c514d73
parent590ab3cc649ca3ecc56e6c5057e7e4e24874a625
vswitchd: Initialize cfg properly and check return values

A previous checkin added the cfg_init() function, so we now call it.  We
also check the return value of the initial call to cfg_read(), since if
it fails, there's not much point in continuing.
utilities/ovs-cfg-mod.c
vswitchd/ovs-brcompatd.c
vswitchd/ovs-vswitchd.c