diff options
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 6b9736b..05fd9cf 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -171,10 +171,12 @@ if ($_POST) { else unset($config['dhcpd'][$if]['enable']); - if($_POST['staticarp'] == "yes") + if($_POST['staticarp'] == "yes") { $config['dhcpd'][$if]['staticarp'] = true; - else + } else { unset($config['dhcpd'][$if]['staticarp']); + mwexec("/usr/sbin/arp -da"); + } write_config(); |