correct regexp
This commit is contained in:
parent
cdd8320661
commit
b415a8bf43
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue