Actions
Bug #13164
closedInfo icon on ``firewall_nat_out.php`` is incorrectly placed in manual outbound NAT mode
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
firewall_nat_out.php
has a bug where the infoblock (i) is displayed wayyy off to the left of the main table when in manual outbound NAT mode. This appears due to the if ($mode == "automatic"...
block not properly including the closing tags of the table/div elements when that table is not shown.
If you "view source" on the rendered page when in manual NAT mode, and run it through an HTML validator e.g. https://validator.w3.org/nu/#textarea — you'll see the errors as well.
I created the PR below, which works for me on my 22.05.b.20220512.0600 system, renders properly and passes validation. But I would appreciate another set of eyes on this fix to make sure it's correct.
before patch:
after patch:
Files
Actions