diff options
author | James Laird-Wah <james@laird-wah.net> | 2017-02-08 19:20:52 +1100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-08 09:54:02 +0100 |
commit | 094a4d15cff37b786b9afec2c1cfe834dcd13147 (patch) | |
tree | 156f8056962648754b7e660b5674f892f7811831 | |
parent | 2222af2932d7218583f03db820f0e890e8ca1582 (diff) | |
download | strongswan-094a4d15cff37b786b9afec2c1cfe834dcd13147.tar.bz2 strongswan-094a4d15cff37b786b9afec2c1cfe834dcd13147.tar.xz |
forecast: Mark correct port in UDP NAT-T rule
Closes strongswan/strongswan#62.
-rw-r--r-- | src/libcharon/plugins/forecast/forecast_listener.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/forecast/forecast_listener.c b/src/libcharon/plugins/forecast/forecast_listener.c index 3f252db2d..2024c2682 100644 --- a/src/libcharon/plugins/forecast/forecast_listener.c +++ b/src/libcharon/plugins/forecast/forecast_listener.c @@ -212,7 +212,7 @@ static bool manage_pre_esp_in_udp(struct iptc_handle *ipth, ADD_STRUCT(pos, struct xt_udp, .spts = { entry->rhost->get_port(entry->rhost), - entry->rhost->get_port(entry->lhost) + entry->rhost->get_port(entry->rhost) }, .dpts = { entry->lhost->get_port(entry->lhost), |