Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
This commit is contained in:
Matthew R. Kasun
2022-12-19 15:15:35 -05:00
parent a5e6aea563
commit c086e9499d
40 changed files with 463 additions and 337 deletions

View File

@@ -160,7 +160,7 @@ func getInterfaces() (*[]models.Iface, error) {
}
// GetNode - gets node locally
func GetNode(network string) models.Node {
func GetNode(network string) models.LegacyNode {
modcfg, err := config.ReadConfig(network)
if err != nil {
@@ -422,7 +422,7 @@ func SetServerInfo(cfg *config.ClientConfig) error {
return nil
}
func informPortChange(node *models.Node) {
func informPortChange(node *models.LegacyNode) {
if node.ListenPort == 0 {
logger.Log(0, "network:", node.Network, "UDP hole punching enabled for node", node.Name)
} else {