This commit is contained in:
crusader 2018-04-28 01:30:19 +09:00
parent c1096ee410
commit 687f9f2e1e
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,8 @@ type Host struct {
Zone *Zone `json:"zone"`
ID json.Number `json:"id,Number,omitempty"`
IP string `json:"ip,omitempty"`
IP4 string `json:"ip4,omitempty"`
IP6 string `json:"ip6,omitempty"`
Mac string `json:"mac,omitempty"`
OS string `json:"os,omitempty"`

View File

@ -10,7 +10,8 @@ import (
type Zone struct {
ID json.Number `json:"id,Number,omitempty"`
Network string `json:"network,omitempty"`
IP string `json:"ip,omitempty"`
IP4 string `json:"ip4,omitempty"`
IP6 string `json:"ip6,omitempty"`
Iface string `json:"iface,omitempty"`
Mac string `json:"mac,omitempty"`