From cbb07b0d67e386a85b5ee05fd28804c5d3be8427 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Wed, 13 Aug 2014 22:45:44 +0100 Subject: [PATCH] Set default UPnP renewal to 30 minutes --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index d98ae14c..f5eaee36 100644 --- a/config/config.go +++ b/config/config.go @@ -114,7 +114,7 @@ type OptionsConfiguration struct { StartBrowser bool `xml:"startBrowser" default:"true"` UPnPEnabled bool `xml:"upnpEnabled" default:"true"` UPnPLease int `xml:"upnpLeaseMinutes" default:"0"` - UPnPRenewal int `xml:"upnpRenewalMinutes" default:"0"` + UPnPRenewal int `xml:"upnpRenewalMinutes" default:"30"` URAccepted int `xml:"urAccepted"` // Accepted usage reporting version; 0 for off (undecided), -1 for off (permanently) Deprecated_UREnabled bool `xml:"urEnabled,omitempty" json:"-"`