ovs-dpctl: Parse the arguments correctly for del-flow.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 23 Sep 2013 20:11:41 +0000 (13:11 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 24 Sep 2013 22:57:28 +0000 (15:57 -0700)
commit0d6c14937bd30e47865456bcafa30e163d88634f
tree5b50688c8a5a09f975cdc5fd06785d682ae708fe
parent918514018379ba4f05a467d215825ef57b09f2dc
ovs-dpctl: Parse the arguments correctly for del-flow.

Inside dpctl_del_flow() argv[0] is 'del-flow' and argv[1] can
be the flow in the absence of the optional datapath argument.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-dpctl.c