]> git.proxmox.com Git - ovs.git/commit
dpctl: Simplify dpctl_flush_conntrack.
authorDarrell Ball <dlu998@gmail.com>
Mon, 6 Aug 2018 17:55:26 +0000 (10:55 -0700)
committerJustin Pettit <jpettit@ovn.org>
Fri, 17 Aug 2018 17:31:16 +0000 (10:31 -0700)
commit74251328dd6b28f504a194b307673dc83a530993
tree54477a7c71ebc2acfd055ee674f6826efe06d920
parentfdcdc5e948b06e9ac2a6e04b1f793df1cf1f7ab7
dpctl: Simplify dpctl_flush_conntrack.

The function dpctl_flush_conntrack() and other such new functions with
multiple optional arguments can be simplified by reodering the checks
for optional parameters, where the datapath argument is checked for
last.

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