Revision 800d973d
Added by Ermal LUÇI about 14 years ago
etc/inc/filter.inc | ||
---|---|---|
1830 | 1830 |
update_filter_reload_status("Setting up pass/block rules {$rule['descr']}"); |
1831 | 1831 |
|
1832 | 1832 |
/* do not process reply-to for gateway'd rules */ |
1833 |
if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto'])) { |
|
1833 |
if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto']) && $type != "match") {
|
|
1834 | 1834 |
$rg = get_interface_gateway($rule['interface']); |
1835 | 1835 |
if(is_ipaddr($rg)) { |
1836 | 1836 |
$aline['reply'] = "reply-to ( {$ifcfg['if']} {$rg} ) "; |
Also available in: Unified diff
Do not add any reply-to information to rules with action match. Reported-by: http://forum.pfsense.org/index.php/topic,39247.msg202728.html#msg202728