diff options
author | jim-p <jimp@pfsense.org> | 2012-12-26 10:16:42 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-12-26 10:16:42 -0500 |
commit | 0d1b26eed29d91c9faab2c1e88c03513a9ecf2af (patch) | |
tree | 6135eeb5939bef0dd5ced478e31f40ce729dcf03 /usr/local/www/services_dhcp.php | |
parent | ee1fb205d3b704d2c5af5fc7bc0c93bdb67d0271 (diff) | |
download | pfsense-0d1b26eed29d91c9faab2c1e88c03513a9ecf2af.zip pfsense-0d1b26eed29d91c9faab2c1e88c03513a9ecf2af.tar.gz |
Static mappings are not pool-specific. They exist independent of any pool, and you can't actually add static mappings "inside" a pool range. So disable the static map list/controls if editing a pool, since they are "global" for an interface. Fixes #2370.
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 4c5bbaa..ebdf024 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -1132,6 +1132,7 @@ include("head.inc"); </td> </tr> </table> + <?php if (!is_numeric($pool) && !($act == "newpool")): ?> <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="7%" class="listhdrr"><?=gettext("Static ARP");?></td> @@ -1193,6 +1194,7 @@ include("head.inc"); </td> </tr> </table> + <?php endif; ?> </div> </td> </tr> |