make this a warning, even though i believe it is fundamentally an error
(in judgement)
This commit is contained in:
parent
8b029e7907
commit
ad7079d370
|
@ -394,7 +394,7 @@ func (hm *HostMap) Punchy(conn *udpConn) {
|
||||||
|
|
||||||
func (hm *HostMap) addUnsafeRoutes(routes *[]route) {
|
func (hm *HostMap) addUnsafeRoutes(routes *[]route) {
|
||||||
for _, r := range *routes {
|
for _, r := range *routes {
|
||||||
l.WithField("route", r.route).WithField("via", r.via).Error("Adding UNSAFE Route")
|
l.WithField("route", r.route).WithField("via", r.via).Warn("Adding UNSAFE Route")
|
||||||
hm.unsafeRoutes.AddCIDR(r.route, ip2int(*r.via))
|
hm.unsafeRoutes.AddCIDR(r.route, ip2int(*r.via))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue