mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
Firewall: Shaper - missing physical_interface(), looks like a regression in a99f2600a5 , closes https://github.com/opnsense/core/issues/7096
This commit is contained in:
parent
ff75146f73
commit
c9d191f10d
@ -182,7 +182,7 @@ add {{loop.index + 60000}} {{ helpers.getUUIDtag(rule.target) }} {{
|
||||
if rule.source_not|default('0') == '1' %}not {% endif %}{{ convert_address(rule, 'source') }} to {%
|
||||
if rule.destination_not|default('0') == '1' %}not {% endif %}{{convert_address(rule, 'destination')
|
||||
}} src-port {{ rule.src_port }} dst-port {{ rule.dst_port }} xmit {{
|
||||
physical_interface(rule.interface) }} {%
|
||||
helpers.physical_interface(rule.interface) }} {%
|
||||
if rule.proto.split('_')[1]|default('') == 'ack' %} {{ rule.proto.split('_')[2]|default('') }} tcpflags ack {% endif %}{%
|
||||
if rule.iplen|default('') != '' %} iplen 1-{{ rule.iplen }}{% endif %}{%
|
||||
if rule.dscp|default('') != '' %} dscp {{ rule.dscp }}{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user