fix learning nodes

This commit is contained in:
2023-01-25 08:25:10 +00:00
parent 8f12781928
commit f82f5f9ec8
2 changed files with 6 additions and 0 deletions

View File

@@ -61,6 +61,11 @@ func UpdateIpTable(IpAddress string, serverPort string) error {
}
}
err = ipStruct.WriteIpTable()
if err != nil {
return err
}
return nil
}

View File

@@ -155,6 +155,7 @@ func (table *IpAddresses) RemoveDuplicates() error {
if table.IpAddress[i].NAT == "True" && table.IpAddress[i].EscapeImplementation == "None" {
Exists = true
}
if Exists {
continue
}