mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-11 15:44:52 +08:00
fix cp/paste error
This commit is contained in:
parent
5238287426
commit
e380164472
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ func UpdateWgInterface(file, privateKey, nameserver string, node models.Node) er
|
||||||
wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
|
wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
wireguard.Section(section_interface).Key("PostUp").SetValue(node.PostDown)
|
wireguard.Section(section_interface).Key("PostDown").SetValue(node.PostDown)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if node.MTU != 0 {
|
if node.MTU != 0 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue