From cdf076dde67e0b02c810b730b34508b55b6baca0 Mon Sep 17 00:00:00 2001 From: Oliver Herms <oliver.herms@exaring.de> Date: Fri, 29 Jun 2018 21:14:59 +0200 Subject: [PATCH] Added aggregator.go --- protocols/bgp/types/aggregator.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 protocols/bgp/types/aggregator.go diff --git a/protocols/bgp/types/aggregator.go b/protocols/bgp/types/aggregator.go new file mode 100644 index 00000000..8fba9cb3 --- /dev/null +++ b/protocols/bgp/types/aggregator.go @@ -0,0 +1,7 @@ +package types + +// Aggregator represents an AGGREGATOR attribute (type code 7) as in RFC4271 +type Aggregator struct { + ASN uint16 + Address uint32 +} -- GitLab