dpctl: Ignore enumeration errors if there is at least one datapath.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 6 May 2015 18:00:26 +0000 (19:00 +0100)
committerBen Pfaff <blp@nicira.com>
Thu, 7 May 2015 19:56:41 +0000 (12:56 -0700)
commit88c98bf5635c732d4c77e5314ec7440a08a09dec
tree0375478c1b29501cb85764bece110bcd46deb386
parent1f70f3f01aad5ba34931d9a745c3dae15f6a29a6
dpctl: Ignore enumeration errors if there is at least one datapath.

When dpctl commands are used to inspect a userspace datapath, but OVS
has also built-in support for the kernel datapath, an error message is
reported if the kernel module is not loaded.  This commit suppresses the
message.

Suggested-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpctl.c