correct function

This commit is contained in:
mh 2015-01-03 20:59:19 +01:00
parent 512864bec6
commit bb4c08b12e

View file

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