From cc47995dd0b4f7a44c36a94d6f4feabddc418e12 Mon Sep 17 00:00:00 2001 From: Charlie Date: Wed, 8 Jul 2009 14:45:06 +0000 Subject: Add needed code to packages to confirm to 2.0 rules for adding firewall rules. NOTE: other packages might need intervention but for now this is the neccessary minimum to remove dependency on pkg-utils.inc on filter.inc --- config/siproxd.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/siproxd.inc') diff --git a/config/siproxd.inc b/config/siproxd.inc index be1ac196..147eee31 100644 --- a/config/siproxd.inc +++ b/config/siproxd.inc @@ -73,6 +73,7 @@ function siproxd_generate_rules($type) { } break; case 'filter': + case 'rule': foreach ($ifaces as $iface) { $rules .= "# allow SIP signaling and RTP traffic\n"; $rules .= "pass in quick on {$iface} proto udp from any to any port = {$port}\n"; @@ -193,4 +194,4 @@ function sync_package_siproxd() { conf_mount_ro(); } -?> \ No newline at end of file +?> -- cgit v1.2.3