summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_lan.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-27 20:58:09 +0000
committerBill Marquette <billm@pfsense.org>2005-03-27 20:58:09 +0000
commit79f8694f55ea39295ba649945b3557cbe16de1fc (patch)
treeac362a7a97360bb81d896c86eebf9feea1cf22f9 /usr/local/www/interfaces_lan.php
parent7247e494abe084aca3cda49816e1a9236443bbed (diff)
downloadpfsense-79f8694f55ea39295ba649945b3557cbe16de1fc.zip
pfsense-79f8694f55ea39295ba649945b3557cbe16de1fc.tar.gz
better function name :)
Diffstat (limited to 'usr/local/www/interfaces_lan.php')
-rwxr-xr-xusr/local/www/interfaces_lan.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index ea28306..1ef3132 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -73,15 +73,15 @@ if ($_POST) {
if (!$input_errors) {
if (($lancfg['ipaddr'] != $_POST['ipaddr']) || ($lancfg['subnet'] != $_POST['subnet'])) {
- updatechanged("IP Address", &$lancfg['ipaddr'], $_POST['ipaddr']);
- updatechanged("subnet", &$lancfg['subnet'], $_POST['subnet']);
+ update_if_changed("IP Address", &$lancfg['ipaddr'], $_POST['ipaddr']);
+ update_if_changed("subnet", &$lancfg['subnet'], $_POST['subnet']);
/* We'll need to reboot after this */
touch($d_sysrebootreqd_path);
}
- updatechanged("bandwidth", &$lancfg['bandwidth'], $_POST['bandwidth']);
- updatechanged("bandwidth type", &$lancfg['bandwidthtype'], $_POST['bandwidthtype']);
+ update_if_changed("bandwidth", &$lancfg['bandwidth'], $_POST['bandwidth']);
+ update_if_changed("bandwidth type", &$lancfg['bandwidthtype'], $_POST['bandwidthtype']);
$dhcpd_was_enabled = 0;
if (isset($config['dhcpd']['enable'])) {
OpenPOWER on IntegriCloud