Various fixes for handling of ports in port forwards.
- Removed unused $srcport variable. - Moved setting the $protocol variable to after setting the ports, so it can clear the ports variables when using non-tcp/udp protocols. - Handle a couple extra possible cases for local port.
Various fixes for handling of ports in port forwards.
- Removed unused $srcport variable.
- Moved setting the $protocol variable to after setting the ports, so it can
clear the ports variables when using non-tcp/udp protocols.
- Handle a couple extra possible cases for local port.