Skip to content

Commit

Permalink
Added WAN egress qos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JalfResi authored and paultyng committed Oct 9, 2020
1 parent 6203ee9 commit e7f9c5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fields/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit e7f9c5e

Please sign in to comment.