Skip to content

Commit

Permalink
Fixed the order of arguments in IPv4_4TUPLE().
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonkey committed May 15, 2018
1 parent 502aaad commit b7fed4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lb_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ __conn_expire(struct lb_conn_table *ct, struct lb_conn *conn) {
IPv4_4TUPLE(&tuple, conn->cip, conn->cport, conn->vip, conn->vport);
rte_hash_del_key(ct->hash, (const void *)&tuple);

IPv4_4TUPLE(&tuple, conn->lip, conn->lport, conn->rip, conn->rport);
IPv4_4TUPLE(&tuple, conn->rip, conn->rport, conn->lip, conn->lport);
rte_hash_del_key(ct->hash, (const void *)&tuple);

lb_laddr_put(conn->laddr, conn->lport, ct->type);
Expand Down

0 comments on commit b7fed4e

Please sign in to comment.