This commit is contained in:
davidnewhall2 2019-08-27 21:08:22 -07:00
parent 6de7c4cae5
commit 7f4245de59
2 changed files with 3 additions and 3 deletions

View File

@ -180,6 +180,6 @@ type UDM struct {
// UDMStat holds the "stat" data for a dream machine.
// A dream machine is a USG + USW + Controller
type UDMStat struct {
*Gw
*Sw
*Gw `json:"gw"`
*Sw `json:"sw"`
}

View File

@ -163,7 +163,7 @@ type USWStat struct {
*Sw
}
// GS is a subtype of USWStat to make unmarshalling of different controller versions possible.
// Sw is a subtype of USWStat to make unmarshalling of different controller versions possible.
type Sw struct {
SiteID string `json:"site_id"`
O string `json:"o"`