dns: Fixed default view handling for RFC2317 style in-addr.arpa zones.

This commit is contained in:
Timo Mkinen 2013-10-14 12:23:48 +03:00
parent e488015a28
commit 037fe31dd6

View file

@ -307,7 +307,7 @@ define dns::zone($role = "master", $master = "", $slaves = [], $forwarders = [],
# Special handling for RFC2317 style in-addr.arpa zones
case $1 {
".": { $view = "" }
"default": { $view = "" }
"default/": { $view = "" }
default: { $view = $1 }
}
$zone = "$2/$3"