Project

General

Profile

« Previous | Next » 

Revision 38fa8aea

Added by Ermal Luçi over 16 years ago

It does not make sense to add reply-to to block rules even though pf parses that.

View differences:

etc/inc/filter.inc
1237 1237
	$foundlb = 0;
1238 1238

  
1239 1239
	/* do not process reply-to for gateway'd rules */
1240
	if ($rule['gateway'] == "" && interface_has_gateway($rule['interface'])) {
1240
	if ($rule['gateway'] == "" && interface_has_gateway($rule['interface']) && $type == "pass") {
1241 1241
		$rg = get_interface_gateway($rule['interface']);
1242 1242
		if (is_ipaddr($rg)) {
1243 1243
			$aline['reply'] = "reply-to ( {$ifcfg['if']} {$rg} ) ";

Also available in: Unified diff