]> git.proxmox.com Git - mirror_ovs.git/commit - lib/dpctl.c
dpctl: Simplify dpctl_flush_conntrack.
authorDarrell Ball <dlu998@gmail.com>
Mon, 6 Aug 2018 17:55:26 +0000 (10:55 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 6 Aug 2018 21:47:14 +0000 (14:47 -0700)
commit2f15f8f313366589ae1065b7689d9d2d3bf139e3
tree5591bfe42ffa47c598a301996d9ab5179c810ba5
parent1ea9742269fcb959bd27d9aa188d9c6ce32b1ee6
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