Merge pull request #98 from slackhq/warn_not_error
make this a warning, even though i believe it is fundamentally an error (in judgement)
This commit is contained in:
commit
a680ac29f5
|
@ -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