correct regexp

This commit is contained in:
mh 2015-01-03 22:05:43 +01:00
parent cdd8320661
commit b415a8bf43

View file

@ -91,7 +91,7 @@ define tinc::instance(
if $tinc_address {
$host_address = $tinc_address
} else {
$int_name_escaped = regsubst($tinc_interface,'.','_','G')
$int_name_escaped = regsubst($tinc_interface,'\.','_','G')
$host_address = getvar("::ipaddress_${int_name_escaped}")
}