diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-11-24 13:44:42 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-11-24 13:44:42 +0000 |
commit | 0a595d8419b9f41637f20ac4b923d1bdfa3e053a (patch) | |
tree | f131695d03a2b74579eda6a8efea51f7975f322d /usr/local | |
parent | 474ef84c87f0acdd733bcca43d06a3aa17da5aa1 (diff) | |
download | pfsense-0a595d8419b9f41637f20ac4b923d1bdfa3e053a.zip pfsense-0a595d8419b9f41637f20ac4b923d1bdfa3e053a.tar.gz |
s/interfaces_carp_configure/interfaces_carp_setup/
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/carp.xml | 4 | ||||
-rw-r--r-- | usr/local/pkg/carp_settings.xml | 2 | ||||
-rwxr-xr-x | usr/local/www/carp_status.php | 2 | ||||
-rwxr-xr-x | usr/local/www/exec.php | 4 | ||||
-rwxr-xr-x | usr/local/www/xmlrpc.php | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/pkg/carp.xml b/usr/local/pkg/carp.xml index 0f536a4..e4db39c 100644 --- a/usr/local/pkg/carp.xml +++ b/usr/local/pkg/carp.xml @@ -218,12 +218,12 @@ <custom_php_command_before_form> </custom_php_command_before_form> <custom_add_php_command_late> - interfaces_carp_configure(); + interfaces_carp_setup(); </custom_add_php_command_late> <custom_php_resync_config_command> </custom_php_resync_config_command> <custom_delete_php_command> - interfaces_carp_configure(); + interfaces_carp_setup(); </custom_delete_php_command> <custom_php_deinstall_command> unlink_if_exists("/usr/local/pkg/carp*"); diff --git a/usr/local/pkg/carp_settings.xml b/usr/local/pkg/carp_settings.xml index 8b37e8c..43c8804 100644 --- a/usr/local/pkg/carp_settings.xml +++ b/usr/local/pkg/carp_settings.xml @@ -183,7 +183,7 @@ </custom_php_validation_command> <custom_add_php_command_late> /* setup carp interfaces */ - interfaces_carp_configure(); + interfaces_carp_setup(); /* force a filter configure for syncing */ filter_configure(); </custom_add_php_command_late> diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index efb147f..87f9419 100755 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -64,7 +64,7 @@ if($_POST['disablecarp'] <> "") { } else { $savemsg = "CARP has been enabled."; mwexec("/sbin/sysctl net.inet.carp.allow=1"); - interfaces_carp_configure(); + interfaces_carp_setup(); } } diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 8f3ee4f..b680145 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -307,7 +307,7 @@ if (!isBlank($_POST['txtPHPCommand'])) { <td valign="top" class="label"> <input type="submit" class="button" value="Execute"> <p> - <strong>Example:</strong> interfaces_carp_configure(); + <strong>Example:</strong> interfaces_carp_setup(); </td> </tr> @@ -326,4 +326,4 @@ document.forms[0].txtCommand.focus(); if($_POST) conf_mount_ro(); -?>
\ No newline at end of file +?> diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index d3679d7..0f2e445 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -297,7 +297,7 @@ function interfaces_carp_configure_xmlrpc($raw_params) { global $xmlrpc_g; $params = xmlrpc_params_to_php($raw_params); if(!xmlrpc_auth($params)) return $xmlrpc_g['return']['authfail']; - interfaces_carp_configure(); + interfaces_carp_setup(); return $xmlrpc_g['return']['true']; } |