summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSerguei Bezverkhi <sbezverk@cisco.com>2020-05-07 04:36:25 -0400
committerSerguei Bezverkhi <sbezverk@cisco.com>2020-05-07 04:36:25 -0400
commit7bdaeb349bd9cbba320a0147010ea0b496c09a1b (patch)
treecb51d49ea68163e765ab73ad741a88157cdb5428
parent1f01ec26939845d7c19d9284ef84e00b5747d1ad (diff)
remove debug messages
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
-rw-r--r--go.mod1
-rw-r--r--go.sum4
-rw-r--r--pkg/packet/bgp/bgp.go4
3 files changed, 0 insertions, 9 deletions
diff --git a/go.mod b/go.mod
index 4752215a..8047015c 100644
--- a/go.mod
+++ b/go.mod
@@ -21,7 +21,6 @@ require (
github.com/pelletier/go-buffruneio v0.2.0 // indirect
github.com/pelletier/go-toml v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/sbezverk/gobmp/pkg/tools v0.0.0-20200506032342-04944823ac3f
github.com/sirupsen/logrus v0.0.0-20170713114250-a3f95b5c4235
github.com/spf13/afero v0.0.0-20170217164146-9be650865eab // indirect
github.com/spf13/cast v1.1.0 // indirect
diff --git a/go.sum b/go.sum
index 7ba85acd..dd8ec379 100644
--- a/go.sum
+++ b/go.sum
@@ -12,7 +12,6 @@ github.com/eapache/queue v1.0.2 h1:jRJXCx6uciOfN69MfZCC9EZlGRqqHhwlyb6GBeNow+c=
github.com/eapache/queue v1.0.2/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
github.com/fsnotify/fsnotify v1.4.2 h1:v5tKwtf2hNhBV24eNYfQ5UmvFOGlOCmRqk7/P1olxtk=
github.com/fsnotify/fsnotify v1.4.2/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
-github.com/go-test/deep v1.0.5/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/protobuf v1.0.0 h1:lsek0oXi8iFE9L+EXARyHIjU5rlWIhhTkjDz3vHhWWQ=
@@ -45,9 +44,6 @@ github.com/pelletier/go-toml v1.0.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/sbezverk/gobmp v0.0.0-20200506032342-04944823ac3f h1:nfQdt9K+bxggu50Lsd/7SozAY8Y6OPqvZdinycjI6S4=
-github.com/sbezverk/gobmp/pkg/tools v0.0.0-20200506032342-04944823ac3f h1:li6T1EkByRuwm5oCyFHpdu1uZkQCRZKljIEiCVUMEz0=
-github.com/sbezverk/gobmp/pkg/tools v0.0.0-20200506032342-04944823ac3f/go.mod h1:XY3q43hOXcF64qjFKhFahQbrYSHm8jGK8gubrsumfE4=
github.com/sirupsen/logrus v0.0.0-20170713114250-a3f95b5c4235 h1:a2XWU6egUZQhD52o2GEKr79zE+OuZmwLybyOQpoqhHQ=
github.com/sirupsen/logrus v0.0.0-20170713114250-a3f95b5c4235/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
github.com/spf13/afero v0.0.0-20170217164146-9be650865eab h1:IVAbBHQR8rXL2Fc8Zba/lMF7KOnTi70lqdx91UTuAwQ=
diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go
index d60f3d36..84604312 100644
--- a/pkg/packet/bgp/bgp.go
+++ b/pkg/packet/bgp/bgp.go
@@ -28,9 +28,6 @@ import (
"sort"
"strconv"
"strings"
-
- "github.com/golang/glog"
- "github.com/sbezverk/gobmp/pkg/tools"
)
type MarshallingOption struct {
@@ -12378,7 +12375,6 @@ func GetPathAttribute(data []byte) (PathAttributeInterface, error) {
case BGP_ATTR_TYPE_LS:
return &PathAttributeLs{}, nil
case BGP_ATTR_TYPE_PREFIX_SID:
- glog.Infof("Prefix SID RAW: %s", tools.MessageHex(data))
return &PathAttributePrefixSID{}, nil
}
return &PathAttributeUnknown{}, nil