summaryrefslogtreecommitdiff
path: root/ovn/controller
diff options
context:
space:
mode:
authorxurong00037997 <xu.rong@zte.com.cn>2018-11-02 08:34:16 +0800
committerBen Pfaff <blp@ovn.org>2018-11-02 13:47:58 -0700
commit2447bb085a42abc9858ce6aad1ce15dd9fbf46db (patch)
tree514ef9a680365cc3cc899b103aa706b1366c278c /ovn/controller
parent9a98793c0932033b0a9b7616a2e95b3f3fd2a7d1 (diff)
downloadopenvswitch-2447bb085a42abc9858ce6aad1ce15dd9fbf46db.tar.gz
ovn-controller: Call ofctrl_inject_pkt() with correct argument order.
Signed-off-by: Xu Rong <xu.rong@zte.com.cn> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn/controller')
-rw-r--r--ovn/controller/ovn-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovn/controller/ovn-controller.c b/ovn/controller/ovn-controller.c
index 2b2779a17..dd481b642 100644
--- a/ovn/controller/ovn-controller.c
+++ b/ovn/controller/ovn-controller.c
@@ -792,7 +792,7 @@ main(int argc, char *argv[])
if (pending_pkt.conn) {
char *error = ofctrl_inject_pkt(br_int, pending_pkt.flow_s,
- &port_groups, &addr_sets);
+ &addr_sets, &port_groups);
if (error) {
unixctl_command_reply_error(pending_pkt.conn, error);
free(error);