Skip to content

Commit

Permalink
Better fix for named.conf having white space after option (bsc#976643)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwh42 authored and mvidner committed May 13, 2016
1 parent 08b4945 commit 2605e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrconf/dns_named.scr
Expand Up @@ -22,7 +22,7 @@
"comments" : [ "^[ \t]*#.*$", "^[ \t]*$" ],
"params" : [
$[
"match" : [ "([^ \t]+)[ \t]([^ \t]+(.*[^ \t]+)+)[ \t]*;", "%s %s;" ],
"match" : [ "([^ \t]+)[ \t]([^ \t]+(.*[^ \t]+)+)[ \t]*;[ \t]*$", "%s %s;" ],
// This enables multiline parameters
"multiline" : [ "([^ \t]+)[ \t]+([^}]*)", "([^}]*\\}[ \t]*;)[ \t]*" ],
],
Expand Down

0 comments on commit 2605e0d

Please sign in to comment.