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,
.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),