diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 17:40:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 17:40:51 +0000 |
commit | 739dd7c3898e06875450540447d2afef59f45cd8 (patch) | |
tree | 2be14fc7698ff5a31d3d14f696aa5e0afe535a61 /packages/carp_sync_server.php | |
parent | ea0377aa6465c8dfffc0343f09ac5fe051943a0b (diff) | |
download | pfsense-packages-739dd7c3898e06875450540447d2afef59f45cd8.tar.gz pfsense-packages-739dd7c3898e06875450540447d2afef59f45cd8.tar.bz2 pfsense-packages-739dd7c3898e06875450540447d2afef59f45cd8.zip |
* Sync NAT area to other CARP hosts on changes
* Sync ALIASES area to other CARP hosts on changes
Diffstat (limited to 'packages/carp_sync_server.php')
-rw-r--r-- | packages/carp_sync_server.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |