From f0016076e4f1f9c7dcaafc88347c6200eb99b41d Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 23 Oct 2018 12:43:57 +0900 Subject: [PATCH] ing --- Gopkg.lock | 10 +++------- discovery/Port.go | 1 + 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index dab14a8..4b71aad 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -2,20 +2,16 @@ [[projects]] - branch = "master" - name = "git.loafle.net/overflow/util-go" - packages = ["net/ping"] - revision = "a2472a88ab6243321821dda3cac8b2045a2b3917" - -[[projects]] + digest = "1:ce40838a4da1fa140b9714c31c32fac3e0853653600c77c0777725d43377c011" name = "github.com/google/gopacket" packages = ["."] + pruneopts = "UT" revision = "11c65f1ca9081dfea43b4f9643f5c155583b73ba" version = "v1.1.14" [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "73befcd55a94a3a5149a5f07adcad15c8760bee722c3d6f152753bdea3dbc3e7" + input-imports = ["github.com/google/gopacket"] solver-name = "gps-cdcl" solver-version = 1 diff --git a/discovery/Port.go b/discovery/Port.go index d546f40..3c1643d 100644 --- a/discovery/Port.go +++ b/discovery/Port.go @@ -13,6 +13,7 @@ type Port struct { MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"` PortNumber json.Number `json:"portNumber,omitempty"` + DefaultService string `json:"defaultService,omitempty"` Meta map[string]map[string]string `json:"meta,omitempty"` DiscoveredBy []*meta.MetaDiscovererType `json:"discoveredBy,omitempty"` DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`