diff options
-rwxr-xr-x | lib/Vyatta/Config.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Vyatta/Config.pm b/lib/Vyatta/Config.pm index 704e761..341c9dd 100755 --- a/lib/Vyatta/Config.pm +++ b/lib/Vyatta/Config.pm @@ -888,19 +888,19 @@ sub parseTmplAll { } elsif (/^tag:\s*(\S+)?$/) { $ret{tag} = 1; $ret{limit} = $1; - } elsif (/^type:\s+(\S+),\s*(\S+)\s*$/) { + } elsif (/^type:\s*(\S+),\s*(\S+)\s*$/) { $ret{type} = $1; $ret{type2} = $2; - } elsif (/^type:\s+(\S+)\s*$/) { + } elsif (/^type:\s*(\S+)\s*$/) { $ret{type} = $1; - } elsif (/^default:\s+(\S.*)\s*$/) { + } elsif (/^default:\s*(\S.*)\s*$/) { $ret{default} = $1; if ($ret{default} =~ /^"(.*)"$/) { $ret{default} = $1; } - } elsif (/^help:\s+(\S.*)$/) { + } elsif (/^help:\s*(\S.*)$/) { $ret{help} = $1; - } elsif (/^enumeration:\s+(\S+)$/) { + } elsif (/^enumeration:\s*(\S+)$/) { $ret{enum} = $1; } } |