ike: Use the original port when remote resolves to %any
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Aug 2015 15:35:39 +0000 (17:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 19 Aug 2015 09:34:25 +0000 (11:34 +0200)
commit2d14cb4d6c8c920b4794c82be276198b9ed21ab4
treed3149201a495e5fb763a633813a1499ebf653487
parentbb1d9e454d911a14cd93b77e61037a71820b6d35
ike: Use the original port when remote resolves to %any

When reestablishing the IKE_SA we should still use the original port
when right resolves to %any as some implementations might not like
initial IKE messages on port 4500 (especially for IKEv1).
src/libcharon/sa/ike_sa.c