Parcourir la source

make this a warning, even though i believe it is fundamentally an error
(in judgement)

Ryan Huber il y a 5 ans
Parent
commit
ad7079d370
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hostmap.go

+ 1 - 1
hostmap.go

@@ -394,7 +394,7 @@ func (hm *HostMap) Punchy(conn *udpConn) {
 
 func (hm *HostMap) addUnsafeRoutes(routes *[]route) {
 	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))
 	}
 }