This commit is contained in:
crusader 2018-10-23 12:43:57 +09:00
parent 1544a25336
commit f0016076e4
2 changed files with 4 additions and 7 deletions

10
Gopkg.lock generated
View File

@ -2,20 +2,16 @@
[[projects]] [[projects]]
branch = "master" digest = "1:ce40838a4da1fa140b9714c31c32fac3e0853653600c77c0777725d43377c011"
name = "git.loafle.net/overflow/util-go"
packages = ["net/ping"]
revision = "a2472a88ab6243321821dda3cac8b2045a2b3917"
[[projects]]
name = "github.com/google/gopacket" name = "github.com/google/gopacket"
packages = ["."] packages = ["."]
pruneopts = "UT"
revision = "11c65f1ca9081dfea43b4f9643f5c155583b73ba" revision = "11c65f1ca9081dfea43b4f9643f5c155583b73ba"
version = "v1.1.14" version = "v1.1.14"
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "73befcd55a94a3a5149a5f07adcad15c8760bee722c3d6f152753bdea3dbc3e7" input-imports = ["github.com/google/gopacket"]
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -13,6 +13,7 @@ type Port struct {
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"` MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
PortNumber json.Number `json:"portNumber,omitempty"` PortNumber json.Number `json:"portNumber,omitempty"`
DefaultService string `json:"defaultService,omitempty"`
Meta map[string]map[string]string `json:"meta,omitempty"` Meta map[string]map[string]string `json:"meta,omitempty"`
DiscoveredBy []*meta.MetaDiscovererType `json:"discoveredBy,omitempty"` DiscoveredBy []*meta.MetaDiscovererType `json:"discoveredBy,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"` DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`