lib/upnp: Refactor out methods to util with tests, refactor IGD
This commit is contained in:
committed by
Jakob Borg
parent
6a3f3f5577
commit
1d17891286
@@ -20,7 +20,3 @@ var (
|
||||
func init() {
|
||||
l.SetDebug("upnp", strings.Contains(os.Getenv("STTRACE"), "upnp") || os.Getenv("STTRACE") == "all")
|
||||
}
|
||||
|
||||
func shouldDebug() bool {
|
||||
return l.ShouldDebug("upnp")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user