summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-04 21:25:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-04 21:25:31 +0000
commit11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3 (patch)
treeaeba1d6e496d2af7974582176b1228a240d048a3 /usr
parentc90ea5c10b930092990aa2172e66adc08033c6d9 (diff)
downloadpfsense-11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3.zip
pfsense-11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3.tar.gz
Show item if mac or ip is defined.
Ticket #669
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_dhcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index e34368e..daffa88 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -401,7 +401,7 @@ function enable_change(enable_over) {
</tr>
<?php if(is_array($a_maps)): ?>
<?php $i = 0; foreach ($a_maps as $mapent): ?>
- <?php if($mapent['mac'] <> ""): ?>
+ <?php if($mapent['mac'] <> "" or $mapent['ipaddr'] <> ""): ?>
<tr>
<td class="listlr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
<?=htmlspecialchars($mapent['mac']);?>
OpenPOWER on IntegriCloud