summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-12-26 10:16:42 -0500
committerjim-p <jimp@pfsense.org>2012-12-26 10:16:42 -0500
commit0d1b26eed29d91c9faab2c1e88c03513a9ecf2af (patch)
tree6135eeb5939bef0dd5ced478e31f40ce729dcf03 /usr/local/www/services_dhcp.php
parentee1fb205d3b704d2c5af5fc7bc0c93bdb67d0271 (diff)
downloadpfsense-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-xusr/local/www/services_dhcp.php2
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>
OpenPOWER on IntegriCloud