diff options
author | Phil Davis <phil.davis@inf.org> | 2017-02-08 10:11:50 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 10:11:50 +0545 |
commit | 2ea70e1a474fd871a007c76841f2a33f34082c58 (patch) | |
tree | dda5416688a63affa99e45bc1757ee17c1f544bd /src/usr/local/www/services_dhcp.php | |
parent | b0eb674f8f9c474cbb52a468892cacf5df9e9028 (diff) | |
download | pfsense-2ea70e1a474fd871a007c76841f2a33f34082c58.zip pfsense-2ea70e1a474fd871a007c76841f2a33f34082c58.tar.gz |
Part Fix #7233 Allow deletion of empty static map entries
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r-- | src/usr/local/www/services_dhcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php index 81277fb..a8301b0 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -654,7 +654,7 @@ if ($act == "delpool") { } if ($act == "del") { - if ($a_maps[$_GET['id']]) { + if (isset($a_maps[$_GET['id']])) { /* Remove static ARP entry, if necessary */ if (isset($a_maps[$_GET['id']]['arp_table_static_entry'])) { mwexec("/usr/sbin/arp -d " . escapeshellarg($a_maps[$_GET['id']]['ipaddr'])); |