ovs-appctl: Close the connection during error.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 27 Mar 2014 22:40:25 +0000 (15:40 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 28 Mar 2014 17:53:32 +0000 (10:53 -0700)
commit156f7a40e3f93a4498b6d16bf698c624a81ad1fb
tree703a8760b5af1968b3d6cf89ab5bd7b4e97abd1f
parent5878877a75a11d9e73f61cebfa18ff84dcdd64ba
ovs-appctl: Close the connection during error.

When we send a wrong command to a Open vSwitch daemon, it returns
an error. In that case, close the connection to the daemon.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-appctl.c