mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 01:37:52 +02:00
avoid logging stray packets (multicast, etc)
This commit is contained in:
parent
06b94a6c2a
commit
6302ed66b2
@ -125,10 +125,12 @@ func (b *Backend) readTun() {
|
|||||||
b.clients.Remove(dest)
|
b.clients.Remove(dest)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if b.subnet.Contains(net.IP(dest.addr[:])) {
|
||||||
logrus.Errorf("no client with address[%v]", dest)
|
logrus.Errorf("no client with address[%v]", dest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func (b *Backend) Run() error {
|
func (b *Backend) Run() error {
|
||||||
logrus.Info("started")
|
logrus.Info("started")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user