aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 17:35:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 17:35:10 +0000
commitea0377aa6465c8dfffc0343f09ac5fe051943a0b (patch)
tree6d18c92fd40de238e0eb979b2e00a5f1a2c46548
parent7bb0cf772d548c7b80eb5232614cb4a9dd42c6ff (diff)
downloadpfsense-packages-ea0377aa6465c8dfffc0343f09ac5fe051943a0b.tar.gz
pfsense-packages-ea0377aa6465c8dfffc0343f09ac5fe051943a0b.tar.bz2
pfsense-packages-ea0377aa6465c8dfffc0343f09ac5fe051943a0b.zip
Say hello to firewall rules syncing!
-rw-r--r--packages/carp_sync_server.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php
index 30249fa7..9dd09577 100644
--- a/packages/carp_sync_server.php
+++ b/packages/carp_sync_server.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/local/bin/php
<?php
@@ -30,14 +30,16 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("guiconfig.inc");
-require("xmlparse_pkg.inc");
+require_once("config.inc");
+require_once("xmlparse_pkg.inc");
+require_once("filter.inc");
if($config['installedpackages']['carpsettings']['config'] != "")
foreach($config['installedpackages']['carpsettings']['config'] as $carp)
if($carp['synchronizerules'] <> "") {
$rules = return_filename_as_string("{$g['tmp_path']}/rules_section.txt");
restore_config_section("rules", $rules);
+ filter_configure();
}
?> \ No newline at end of file