Add IP address to scan results (#602)

This commit is contained in:
Teppei Fukuda
2018-02-19 12:50:00 +09:00
committed by Kota Kanbe
parent 562ff7807d
commit 7a5793c562
12 changed files with 239 additions and 2 deletions

View File

@@ -474,6 +474,10 @@ type ServerInfo struct {
LogMsgAnsiColor string // DebugLog Color
Container Container
Distro Distro
// IP addresses
IPv4Addrs []string
IPv6Addrs []string
}
// GetServerName returns ServerName if this serverInfo is about host.