]> git.proxmox.com Git - mirror_ovs.git/commit - lib/dpctl.c
dpctl: Make opt_dpif_open() more general.
authorDarrell Ball <dlu998@gmail.com>
Fri, 10 Aug 2018 15:56:17 +0000 (08:56 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 15 Aug 2018 20:51:16 +0000 (13:51 -0700)
commitffdcd110fa6231f477e2fc9a862719f4493eca09
tree188edd83e407f1f8283dfd4f4b93851092dccb45
parent3434d306866d825084d2d186d1f8dd98662ff650
dpctl: Make opt_dpif_open() more general.

By making opt_dpif_open() more general, it can be used effectively
by all potential callers and avoids trying to open potentially bogus
datapaths provided by the user. Also, the error handling is improved by
reducing bogus errors and having more specific real errors.

Signed-off-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/dpctl.c
tests/system-traffic.at