adding notify-key

This commit is contained in:
2023-10-11 23:11:59 -04:00
parent c457fd1ed8
commit 0758403058

View File

@ -46,7 +46,7 @@ sub parse_slavefile {
open(my $fh, $f) || die "Can't open $f: $!"; open(my $fh, $f) || die "Can't open $f: $!";
while (<$fh>) { while (<$fh>) {
if (/^zone\s+\"([^\"]+)\"\s+\{.+masters\s?\{\s?(.+);\s?\};\s?\};/) { if (/^zone\s+\"([^\"]+)\"\s+\{.+masters\s?\{\s?(.+);\s?\};\s?\}; allow-notify {"notify-key"}; /) {
push ( @ret, { zone => $1, push ( @ret, { zone => $1,
master => $2 master => $2
} ); } );