[ovs-git] [openvswitch/ovs] 2f15f8: dpctl: Simplify dpctl_flush_conntrack.

GitHub noreply at github.com
Mon Aug 6 21:56:06 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2f15f8f313366589ae1065b7689d9d2d3bf139e3
      https://github.com/openvswitch/ovs/commit/2f15f8f313366589ae1065b7689d9d2d3bf139e3
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2018-08-06 (Mon, 06 Aug 2018)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  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 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list