nzf does not contain quotations
author<hs@schlittermann.de>
Mon, 19 Jan 2015 12:06:27 +0100
changeset 27 beeac1cf82ed
parent 26 d465c78373ca
child 28 6dbc36039020
nzf does not contain quotations
lib/Nagios/Check/DNS/delegation.pm
--- a/lib/Nagios/Check/DNS/delegation.pm	Mon Jan 19 12:02:05 2015 +0100
+++ b/lib/Nagios/Check/DNS/delegation.pm	Mon Jan 19 12:06:27 2015 +0100
@@ -55,7 +55,7 @@
 	# FIXME: 172.0 .. 172.31 is missing
 	not /\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
 	not /^localhost$/;
-    } map { /zone\s"(\S+)"\s/ } grep { /type (?:master|slave)/ } @conf;
+    } map { /zone\s"?(\S+)"?\s/ } grep { /type (?:master|slave)/ } @conf;
 }
 
 sub get_domains {