mirror of https://github.com/slackhq/nebula.git
Print the udp listen address on startup (#181)
This commit is contained in:
parent
2d24ef7166
commit
45a5de2719
|
@ -97,8 +97,13 @@ func (f *Interface) Run(tunRoutines, udpRoutines int, buildVersion string) {
|
|||
}
|
||||
|
||||
f.version = buildVersion
|
||||
addr, err := f.outside.LocalAddr()
|
||||
if err != nil {
|
||||
l.WithError(err).Error("Failed to get udp listen address")
|
||||
}
|
||||
|
||||
l.WithField("interface", f.inside.Device).WithField("network", f.inside.Cidr.String()).
|
||||
WithField("build", buildVersion).
|
||||
WithField("build", buildVersion).WithField("udpAddr", addr).
|
||||
Info("Nebula interface is active")
|
||||
|
||||
// Launch n queues to read packets from udp
|
||||
|
|
Loading…
Reference in New Issue