summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-10-15 01:39:56 +0200
committerErmal <eri@pfsense.org>2014-10-15 01:39:56 +0200
commit8ff85c397c28042b42239e7ae4c0ed2f6554ebe9 (patch)
tree4abfa14bc1d68d61faaea02a35c70b61e1f52b80 /usr
parent4703c007ef8b5cef28ab9650b28ea807cc7611f6 (diff)
downloadpfsense-8ff85c397c28042b42239e7ae4c0ed2f6554ebe9.zip
pfsense-8ff85c397c28042b42239e7ae4c0ed2f6554ebe9.tar.gz
rename interfaces_carp_setup to interfaces_sync_setup and call it during bootup since it does not only relate to carp interfaces.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/carp_status.php2
-rw-r--r--usr/local/www/exec.php2
-rwxr-xr-xusr/local/www/system_hasync.php2
-rwxr-xr-xusr/local/www/xmlrpc.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index d53cf50..869cc1b 100644
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -83,7 +83,7 @@ if($_POST['disablecarp'] <> "") {
}
}
}
- interfaces_carp_setup();
+ interfaces_sync_setup();
set_single_sysctl('net.inet.carp.allow', '1');
$status = 1;
}
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index 1963508..f3849b9 100644
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -318,7 +318,7 @@ if (!isBlank($_POST['txtPHPCommand'])) {
<td valign="top" class="label">
<input type="submit" class="button" value="<?=gettext("Execute"); ?>" />
<p>
- <strong><?=gettext("Example"); ?>:</strong> interfaces_carp_setup();
+ <strong><?=gettext("Example"); ?>:</strong> interfaces_sync_setup();
</p>
</td>
</tr>
diff --git a/usr/local/www/system_hasync.php b/usr/local/www/system_hasync.php
index 17eff62..6a7f4ac 100755
--- a/usr/local/www/system_hasync.php
+++ b/usr/local/www/system_hasync.php
@@ -80,7 +80,7 @@ if ($_POST) {
$a_hasync['username'] = $pconfig['username'];
$a_hasync['password'] = $pconfig['password'];
write_config("Updated High Availability Sync configuration");
- interfaces_carp_setup();
+ interfaces_sync_setup();
header("Location: system_hasync.php");
exit();
}
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php
index 93733cc..51bf1db 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -274,7 +274,7 @@ function restore_config_section_xmlrpc($raw_params) {
pfSense_interface_deladdress($oldvipif, $oldvipar['subnet']);
}
if ($carp_setuped == true)
- interfaces_carp_setup();
+ interfaces_sync_setup();
if ($anyproxyarp == true)
interface_proxyarp_configure();
}
OpenPOWER on IntegriCloud