X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=utilities%2Fovs-dpctl.c;h=89a5a60a9421e9281c215adc3be3fbe2a190b932;hb=182b2eef208fff46d51c640e3002979e4a0ae7f7;hp=404a428c0e389755944d188d0f1114211974a6e9;hpb=e6211adce42c28453e0004c7a3e342a3d52bb97d;p=cascardo%2Fovs.git diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c index 404a428c0..89a5a60a9 100644 --- a/utilities/ovs-dpctl.c +++ b/utilities/ovs-dpctl.c @@ -91,7 +91,7 @@ parse_options(int argc, char *argv[]) VLOG_LONG_OPTIONS, {NULL, 0, NULL, 0}, }; - char *short_options = long_options_to_short_options(long_options); + char *short_options = ovs_cmdl_long_options_to_short_options(long_options); for (;;) { unsigned long int timeout; @@ -133,7 +133,7 @@ parse_options(int argc, char *argv[]) usage(NULL); case 'o': - print_options(long_options); + ovs_cmdl_print_options(long_options); exit(EXIT_SUCCESS); case 'V': @@ -168,8 +168,11 @@ usage(void *userdata OVS_UNUSED) " dump-flows [DP] display flows in DP\n" " add-flow [DP] FLOW ACTIONS add FLOW with ACTIONS to DP\n" " mod-flow [DP] FLOW ACTIONS change FLOW actions to ACTIONS in DP\n" + " get-flow [DP] ufid:UFID fetch flow corresponding to UFID\n" " del-flow [DP] FLOW delete FLOW from DP\n" " del-flows [DP] delete all flows from DP\n" + " dump-conntrack [DP] display conntrack entries\n" + " flush-conntrack [DP] delete all conntrack entries\n" "Each IFACE on add-dp, add-if, and set-if may be followed by\n" "comma-separated options. See ovs-dpctl(8) for syntax, or the\n" "Interface table in ovs-vswitchd.conf.db(5) for an options list.\n"