Browse Source

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

Ryan Huber 5 years ago
parent
commit
ad7079d370
1 changed files with 1 additions and 1 deletions
  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))
 	}
 }