From 739dd7c3898e06875450540447d2afef59f45cd8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 14 Mar 2005 17:40:51 +0000 Subject: * Sync NAT area to other CARP hosts on changes * Sync ALIASES area to other CARP hosts on changes --- packages/carp_sync_server.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/carp_sync_server.php') diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php index 9dd09577..63d67dfd 100644 --- a/packages/carp_sync_server.php +++ b/packages/carp_sync_server.php @@ -38,7 +38,11 @@ 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"); + $aliases = return_filename_as_string("{$g['tmp_path']}/aliases_section.txt"); + $nat = return_filename_as_string("{$g['tmp_path']}/nat_section.txt"); restore_config_section("rules", $rules); + restore_config_section("nat", $nat); + restore_config_section("aliases", $aliases); filter_configure(); } -- cgit v1.2.3