Browse Source

Tone down UPnP not found message (fixes #406)

Jakob Borg 11 years ago
parent
commit
7ac00e189b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      cmd/syncthing/main.go

+ 4 - 1
cmd/syncthing/main.go

@@ -483,7 +483,10 @@ func setupUPnP(r rand.Source) int {
 					l.Warnln("Failed to create UPnP port mapping")
 				}
 			} else {
-				l.Infof("No UPnP IGD device found, no port mapping created (%v)", err)
+				l.Infof("No UPnP gateway detected")
+				if debugNet {
+					l.Debugf("UPnP: %v", err)
+				}
 			}
 		}
 	} else {