Added WAN egress qos fix

This commit is contained in:
Ben Davies
2020-10-08 08:29:35 +01:00
committed by Paul Tyng
parent 6203ee9620
commit e7f9c5eb97

View File

@@ -260,6 +260,14 @@ func main() {
f.OmitEmpty = true
return nil
}
case "NetworkConf":
resource.FieldProcessor = func(name string, f *FieldInfo) error {
switch name {
case "WANEgressQOS":
f.FieldType = "string"
}
return nil
}
case "SettingUsg":
resource.FieldProcessor = func(name string, f *FieldInfo) error {
if strings.HasSuffix(name, "Timeout") && name != "ArpCacheTimeout" {