Projet

Général

Profil

« Précédent | Suivant » 

Révision 1f237bb4

Ajouté par Renato Botelho il y a plus de 9 ans

Fix pf syntax s/divert/divert-to/. It should fix #3921

Voir les différences:

etc/inc/filter.inc
2442 2442
		$l7_present = true;
2443 2443
		$l7rule =& $layer7_rules_list[$rule['l7container']];
2444 2444
		$l7_structures = $l7rule->get_unique_structures();
2445
		$aline['divert'] = "divert " . $l7rule->GetRPort() . " ";
2445
		$aline['divert'] = "divert-to " . $l7rule->GetRPort() . " ";
2446 2446
	}
2447 2447
	if (($rule['protocol'] == "icmp") && $rule['icmptype'] && ($rule['ipprotocol'] == "inet"))
2448 2448
		$aline['icmp-type'] = "icmp-type {$rule['icmptype']} ";

Formats disponibles : Unified diff