mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 10:54:24 +08:00
commit
6ea06f9bbb
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ func WriteWgConfig(node *models.Node, privateKey string, peers []wgtypes.PeerCon
|
|||
wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
|
||||
}
|
||||
} else {
|
||||
wireguard.Section(section_interface).Key("PostUp").SetValue((node.PostUp))
|
||||
wireguard.Section(section_interface).Key("PostDown").SetValue((node.PostDown))
|
||||
}
|
||||
}
|
||||
if node.MTU != 0 {
|
||||
|
|
Loading…
Add table
Reference in a new issue