Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pluto: ikev2_resp_accept_child_ts() was looking at the wrong traffic …
…selectors

This caused asymmetric connections to fail if their assymetric counterpart
was also there (eg 0 <-> 80 in one conn, and 80 <-> 0 in another conn)
  • Loading branch information
letoams committed Sep 4, 2018
1 parent a731090 commit 9d52ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/pluto/ikev2_child.c
Expand Up @@ -859,7 +859,7 @@ stf_status ikev2_resp_accept_child_ts(
d->name));
int bfit_p =
ikev2_evaluate_connection_port_fit(
d, sra, role,
d, sr, role,
tsi, tsr,
tsi_n, tsr_n,
&best_tsi_i,
Expand All @@ -873,7 +873,7 @@ stf_status ikev2_resp_accept_child_ts(
best_tsr_i));
int bfit_pr =
ikev2_evaluate_connection_protocol_fit(
d, sra, role,
d, sr, role,
tsi, tsr,
tsi_n, tsr_n,
&best_tsi_i,
Expand Down

0 comments on commit 9d52ef1

Please sign in to comment.