From 687f9f2e1e4f09e281c85634abb480f43c2ce383 Mon Sep 17 00:00:00 2001 From: crusader Date: Sat, 28 Apr 2018 01:30:19 +0900 Subject: [PATCH] ing --- model/discovery/Host.go | 3 ++- model/discovery/Zone.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/model/discovery/Host.go b/model/discovery/Host.go index 676a164..4b32add 100644 --- a/model/discovery/Host.go +++ b/model/discovery/Host.go @@ -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"` diff --git a/model/discovery/Zone.go b/model/discovery/Zone.go index e37f2ce..0f9f103 100644 --- a/model/discovery/Zone.go +++ b/model/discovery/Zone.go @@ -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"`