Skip to content

Commit

Permalink
Merge pull request #533 from radcool/fix_register_mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeaver-netgate committed Jul 5, 2018
2 parents f9ce1c8 + 8a08067 commit 28f4205
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dns/pfSense-pkg-bind9/files/usr/local/pkg/bind.inc
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,7 @@ EOD;
}
} else {
$parts = array_reverse(explode('.', $domain));
$diff = array_diff_assoc($parts, $zoneparts);
if (count($diff) == 0) {
if ($parts === $zoneparts) {
$zone_conf .= "{$host['hostname']}\tIN A\t{$host['ipaddr']}\n";
}
}
Expand Down

0 comments on commit 28f4205

Please sign in to comment.