fix cp/paste error

This commit is contained in:
Matthew R. Kasun 2022-10-28 10:51:10 -04:00
parent 8ebaa4aea6
commit 89d0b04732

View file

@ -484,7 +484,7 @@ func UpdateWgInterface(file, privateKey, nameserver string, node models.Node) er
wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
}
} else {
wireguard.Section(section_interface).Key("PostUp").SetValue(node.PostDown)
wireguard.Section(section_interface).Key("PostDown").SetValue(node.PostDown)
}
}
if node.MTU != 0 {