forecast: Mark correct port in UDP NAT-T rule

Closes strongswan/strongswan#62.
This commit is contained in:
James Laird-Wah
2017-02-08 09:54:02 +01:00
committed by Tobias Brunner
parent 2222af2932
commit 094a4d15cf
@@ -212,7 +212,7 @@ static bool manage_pre_esp_in_udp(struct iptc_handle *ipth,
ADD_STRUCT(pos, struct xt_udp, ADD_STRUCT(pos, struct xt_udp,
.spts = { .spts = {
entry->rhost->get_port(entry->rhost), entry->rhost->get_port(entry->rhost),
entry->rhost->get_port(entry->lhost) entry->rhost->get_port(entry->rhost)
}, },
.dpts = { .dpts = {
entry->lhost->get_port(entry->lhost), entry->lhost->get_port(entry->lhost),