[ovs-git] [openvswitch/ovs] 1baa98: dpctl: Simplify opt_dpif_open().

GitHub noreply at github.com
Tue Dec 11 16:27:40 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1baa98399a95bc1e6529c9a32f9a43c8b656218e
      https://github.com/openvswitch/ovs/commit/1baa98399a95bc1e6529c9a32f9a43c8b656218e
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Simplify opt_dpif_open().

The commonly used function, opt_dpif_open(), recently became more complex
to check for a datapath argument. Unnecessary dummy parameters for most users
were hence added.  Revert back and call the intended api, dp_arg_exists(), to
query for a datapath argument being supplied.

Fixes: 4eeec031d4c4 ("dpctl: Implement dpctl commands for conntrack per zone limit")
CC: Yi-Hung Wei <yihung.wei at gmail.com>
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