adding notify-key
This commit is contained in:
@ -46,7 +46,7 @@ sub parse_slavefile {
|
||||
|
||||
open(my $fh, $f) || die "Can't open $f: $!";
|
||||
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,
|
||||
master => $2
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user