add an error (non fatal) when a lighthouse host has no static entry

This commit is contained in:
Ryan Huber
2019-11-23 21:46:45 +00:00
parent 72a4e71ebc
commit 83d2550b2d
2 changed files with 17 additions and 0 deletions

View File

@ -236,6 +236,11 @@ func Main(configPath string, configTest bool, buildVersion string) {
}
}
_, err = lightHouse.ValidateLHStaticEntries()
if err != nil {
l.Error(err)
}
handshakeManager := NewHandshakeManager(tunCidr, preferredRanges, hostMap, lightHouse, udpServer)
//TODO: These will be reused for psk