summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-16 16:19:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-16 16:19:17 +0000
commit608ef5e716d8c6e4207477608ce8fe9a4050a3f4 (patch)
tree13ac6b45cb9273b3da8504ae01d160ecd65392ff /usr/local/www/services_dhcp_edit.php
parenta93310c359ab3682e9a653e16886ab74b4c60031 (diff)
downloadpfsense-608ef5e716d8c6e4207477608ce8fe9a4050a3f4.zip
pfsense-608ef5e716d8c6e4207477608ce8fe9a4050a3f4.tar.gz
If static arp is enabled, make the changes.
Diffstat (limited to 'usr/local/www/services_dhcp_edit.php')
-rwxr-xr-xusr/local/www/services_dhcp_edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index fdc941b..988b7c9 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -122,6 +122,9 @@ if ($_POST) {
$a_maps[] = $mapent;
write_config();
+
+ if (isset($config['dhcpd'][$if]['staticarp']))
+ interfaces_staticarp_configure($if);
header("Location: services_dhcp.php?if={$if}");
exit;
OpenPOWER on IntegriCloud