]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/firewall.cgi
BUG12479: Copied NAT rule in Firewall displays incorrect source Port
authorAlexander Marx <alexander.marx@ipfire.org>
Fri, 19 Mar 2021 17:32:19 +0000 (18:32 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Mar 2021 10:36:31 +0000 (10:36 +0000)
commit284bf12c58d055e251c94bf02e1790e53927162e
tree12551b2705b3dd60896fd65309a6c9c73278b6c1
parent9f75f3b4308ddcaba86faf75f4d0a931e4015b81
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/firewall.cgi