diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-02 20:51:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-02 20:51:26 +0000 |
commit | 8f33c905af28eb64f1953637086293da76f9fa12 (patch) | |
tree | 45de39ea8f4b97989f5b12acdd6dffe1915d5c0c /usr/local/www | |
parent | 2317b2e42a96bcea1cfd9e6f725255ed068d122c (diff) | |
download | pfsense-8f33c905af28eb64f1953637086293da76f9fa12.zip pfsense-8f33c905af28eb64f1953637086293da76f9fa12.tar.gz |
$optcfg -> $lancfg
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index 2595895..617590c 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -100,7 +100,9 @@ if ($_POST) { } if (!$input_errors) { - $optcfg['bridge'] = $_POST['bridge']; + + $lancfg['bridge'] = $_POST['bridge']; + if (($lancfg['ipaddr'] != $_POST['ipaddr']) || ($lancfg['subnet'] != $_POST['subnet'])) { update_if_changed("IP Address", &$lancfg['ipaddr'], $_POST['ipaddr']); update_if_changed("subnet", &$lancfg['subnet'], $_POST['subnet']); |