diff --git a/gateway/rest/types.go b/gateway/rest/types.go index 881fda7d3..e2ee29583 100644 --- a/gateway/rest/types.go +++ b/gateway/rest/types.go @@ -5,10 +5,10 @@ import ( ) type LeasedIPStatus struct { - Port uint32 - ExternalPort uint32 - Protocol string - IP string + Port uint32 `json:"port"` + ExternalPort uint32 `json:"external_port"` + Protocol string `json:"protocol"` + IP string `json:"ip"` } type LeaseStatus struct {