diff --git a/cmd/syncthing/config.go b/cmd/syncthing/config.go index 7422b60c4..b42e2207f 100644 --- a/cmd/syncthing/config.go +++ b/cmd/syncthing/config.go @@ -57,9 +57,9 @@ type OptionsConfiguration struct { StartBrowser bool `xml:"startBrowser" default:"true"` UPnPEnabled bool `xml:"upnpEnabled" default:"true"` - Deprecated_ReadOnly bool `xml:"readOnly,omitempty"` - Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty"` - Deprecated_GUIAddress string `xml:"guiAddress,omitempty"` + Deprecated_ReadOnly bool `xml:"readOnly,omitempty" json:"-"` + Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty" json:"-"` + Deprecated_GUIAddress string `xml:"guiAddress,omitempty" json:"-"` } type GUIConfiguration struct {