ソースを参照

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

Ryan Huber 5 年 前
コミット
ad7079d370
1 ファイル変更1 行追加1 行削除
  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))
 	}
 }