aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns_dhcp_filter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_dhcp_filter.php b/packages/tinydns/tinydns_dhcp_filter.php
index 75fac7f5..703d6a41 100644
--- a/packages/tinydns/tinydns_dhcp_filter.php
+++ b/packages/tinydns/tinydns_dhcp_filter.php
@@ -94,6 +94,7 @@ while ($startofrecord < $datalen ){
/* For root-servers get rid of the leading colon */
if($ip[0] == ":")$ip = substr($ip,1);
if(!$rtypes[2])$rtypes[2] = "na";
+ if(!$fqdn)$fqdn = ".";
echo "<tr>";
echo "<td class=\"listlr\">$fqdn</td>";
echo "<td class=\"listlr\">$rtypes[0] $rtypes[1]</td>";