Merge pull request #1567 from Agraphie/master

Fix copy paste error
This commit is contained in:
dcarns 2022-09-19 12:56:30 -04:00 committed by GitHub
commit 6ea06f9bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {