diff --git a/protocols/bgp/types/aggregator.go b/protocols/bgp/types/aggregator.go new file mode 100644 index 0000000000000000000000000000000000000000..8fba9cb384a16393a5aa4e0f939c5b185a6db346 --- /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 +}