From a32edd353a731f43fdf947549d98d9153daebdc8 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Thu, 14 Dec 2006 21:35:48 +0000 Subject: Create valid pf Syntax! --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/filter.inc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 69b11cc..a2f8b24 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1821,7 +1821,7 @@ function filter_rules_generate() { $cp_interface_real = convert_friendly_interface_to_real_interface_name($cp_interface); $cp_interface_ip = find_interface_ip($cp_interface_real); if($cp_interface_ip and $cp_interface_real) - $ipfrules .= "pass in quick on {$cp_interface_real} from any to {$cp_interface_ip} port { 8000-8001 } keep state\n"; + $ipfrules .= "pass in quick on {$cp_interface_real} proto tcp from any to {$cp_interface_ip} port { 8000 8001 } keep state\n"; } /* ftp-sesame */ -- cgit v1.1