]> git.ipfire.org Git - people/amarx/ipfire-2.x.git/commit
BUG12479: Copied NAT rule in Firewall displays incorrect source Port BUG12265 BUG12479
authorAlexander Marx <alexander.marx@ipfire.org>
Fri, 19 Mar 2021 17:27:24 +0000 (18:27 +0100)
committerAlexander Marx <alexander.marx@ipfire.org>
Fri, 19 Mar 2021 17:27:24 +0000 (18:27 +0100)
commita593391f63eb993ca7d4de00aec332ae7747b3d8
tree41884211e725b3fc6299e0ecb5cb2d052338f657
parent2db2b593247967a76f5492a235b8ffd93d97c8ba
BUG12479: Copied NAT rule in Firewall displays incorrect source Port

Fixes: #12479
When copying a NAT rule in the firewall the existing sourceport is copied, too.
This Fix deletes the sourceport from a copied NAT rule. After Saving, the correct port is used.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
html/cgi-bin/firewall.cgi