Add a way to trigger punch backs via lighthouse (#394)

This commit is contained in:
Nathan Brown
2021-03-01 19:06:01 -06:00
committed by GitHub
parent 2a4beb41b9
commit b6234abfb3
6 changed files with 65 additions and 46 deletions

View File

@ -268,7 +268,7 @@ func Main(config *Config, configTest bool, buildVersion string, logger *logrus.L
lighthouseHosts,
//TODO: change to a duration
config.GetInt("lighthouse.interval", 10),
port,
uint32(port),
udpConns[0],
punchy.Respond,
punchy.Delay,