pg-act/ns/print: fix NS_ALLOWED_TYPES name

This commit is contained in:
Miraty 2023-08-18 18:17:44 +02:00
parent e6cc5eed1c
commit 54c44b174b

View file

@ -14,7 +14,7 @@ if ($_POST['print'] === 'raw')
$data['zone-raw'] = $zone_content;
elseif ($_POST['print'] === 'table')
$data['zone-table'] = parseZoneFile($zone_content, ALLOWED_TYPES);
$data['zone-table'] = parseZoneFile($zone_content, NS_ALLOWED_TYPES);
elseif ($_POST['print'] === 'ds') {
$found = preg_match('/^' . preg_quote($data['zone_name'], '/') . '[\t ]+0[\t ]+CDS[\t ]+(?<tag>[0-9]{1,5})[\t ]+(?<algo>[0-9]{1,2})[\t ]+(?<digest_type>[0-9])[\t ]+(?<digest>[0-9A-F]{64})$/Dm', $zone_content, $data['zone-ds']);