From 10304fcda07a0c2225aaf47c175700b15a30168a Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Sun, 8 Sep 2019 02:07:36 -0700 Subject: [PATCH] make UAP like the others --- core/unifi/uap.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/unifi/uap.go b/core/unifi/uap.go index d94b60e4..b1040616 100644 --- a/core/unifi/uap.go +++ b/core/unifi/uap.go @@ -133,9 +133,9 @@ type UAP struct { Bytes FlexInt `json:"bytes"` VwireEnabled FlexBool `json:"vwireEnabled"` UplinkTable []interface{} `json:"uplink_table"` - NumSta int `json:"num_sta"` - UserNumSta int `json:"user-num_sta"` - GuestNumSta int `json:"guest-num_sta"` + NumSta FlexInt `json:"num_sta"` + UserNumSta FlexInt `json:"user-num_sta"` + GuestNumSta FlexInt `json:"guest-num_sta"` TwoPhaseAdopt FlexBool `json:"two_phase_adopt,omitempty"` }