zmap / zannotate

Utility for annotating Internet datasets with contextual metadata (e.g., origin AS, MaxMind GeoIP2, reverse DNS, and WHOIS)
Apache License 2.0
94 stars 20 forks source link

Upstream BGP library change causes type error #8

Closed dadrian closed 6 years ago

dadrian commented 6 years ago
$ git pull --rebase
remote: Counting objects: 5, done.
remote: Total 5 (delta 1), reused 1 (delta 1), pack-reused 4
Unpacking objects: 100% (5/5), done.
From github.com:zmap/zannotate
   cf26de8..d8953c4  master     -> origin/master
Updating cf26de8..d8953c4
Fast-forward
 README.md   | 2 +-
 mrt.go      | 2 +-
 zmrt/mrt.go | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Current branch master is up to date.
$ ls
LICENSE     README.md   annotate.go asnames     cmd         geoip2.go   mrt.go      zmrt
$ go get -u .
# github.com/zmap/zannotate/zmrt
zmrt/mrt.go:247: invalid operation: origin.Value[0] (type uint8 does not support indexing)
zakird commented 6 years ago

I believe this was fixed by #9. Closing.