componentconfig: fix proxy mode set func

This commit is contained in:
Mike Danese 2016-02-02 13:31:49 -08:00
parent 5a6cf15c09
commit 044b69cbda

View File

@ -54,8 +54,7 @@ func (v IPVar) Type() string {
}
func (m *ProxyMode) Set(s string) error {
nm := ProxyMode(s)
m = &nm
*m = ProxyMode(s)
return nil
}