UDM fix.
This commit is contained in:
parent
6de7c4cae5
commit
7f4245de59
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue