From 47dd2ee79f69a50ecbcb276ad9d396bdb5eb86dc Mon Sep 17 00:00:00 2001 From: Louis Poinsignon Date: Fri, 18 Dec 2020 08:04:01 +0100 Subject: [PATCH] go fmt --- messages/messages.go | 80 ++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/messages/messages.go b/messages/messages.go index 56e7271..eee0809 100644 --- a/messages/messages.go +++ b/messages/messages.go @@ -67,47 +67,47 @@ var ( 73: "FQDN Capability", } BgpAttributes = map[int]string{ - 0: "Reserved", - ATTRIBUTE_ORIGIN: "ORIGIN", - ATTRIBUTE_ASPATH: "AS_PATH", - ATTRIBUTE_NEXTHOP: "NEXT_HOP", - ATTRIBUTE_MED: "MULTI_EXIT_DISC", - ATTRIBUTE_LOCPREF: "LOCAL_PREF", - 6: "ATOMIC_AGGREGATE", - 7: "AGGREGATOR", + 0: "Reserved", + ATTRIBUTE_ORIGIN: "ORIGIN", + ATTRIBUTE_ASPATH: "AS_PATH", + ATTRIBUTE_NEXTHOP: "NEXT_HOP", + ATTRIBUTE_MED: "MULTI_EXIT_DISC", + ATTRIBUTE_LOCPREF: "LOCAL_PREF", + 6: "ATOMIC_AGGREGATE", + 7: "AGGREGATOR", ATTRIBUTE_COMMUNITIES: "COMMUNITY", - 9: "ORIGINATOR_ID", - 10: "CLUSTER_LIST", - 11: "DPA (deprecated)", - 12: "ADVERTISER (historic) (deprecated)", - 13: "RCID_PATH / CLUSTER_ID (Historic) (deprecated)", - ATTRIBUTE_REACH: "MP_REACH_NLRI", - ATTRIBUTE_UNREACH: "MP_UNREACH_NLRI", - 16: "EXTENDED COMMUNITIES", - ATTRIBUTE_AS4PATH: "AS4_PATH", - 18: "AS4_AGGREGATOR", - 19: "SAFI Specific Attribute (SSA) (deprecated)", - 20: "Connector Attribute (deprecated)", - 21: "AS_PATHLIMIT (deprecated)", - 22: "PMSI_TUNNEL", - 23: "Tunnel Encapsulation Attribute", - 24: "Traffic Engineering", - 25: "IPv6 Address Specific Extended Community", - 26: "AIGP", - 27: "PE Distinguisher Labels", - 28: "BGP Entropy Label Capability Attribute (deprecated)", - 29: "BGP-LS Attribute", - 30: "Deprecated", - 31: "Deprecated", - 32: "LARGE_COMMUNITY", - 33: "BGPsec_Path", - 34: "BGP Community Container Attribute", - 40: "BGP Prefix-SID", - 128: "ATTR_SET", - 129: "Deprecated", - 241: "Deprecated", - 242: "Deprecated", - 243: "Deprecated", + 9: "ORIGINATOR_ID", + 10: "CLUSTER_LIST", + 11: "DPA (deprecated)", + 12: "ADVERTISER (historic) (deprecated)", + 13: "RCID_PATH / CLUSTER_ID (Historic) (deprecated)", + ATTRIBUTE_REACH: "MP_REACH_NLRI", + ATTRIBUTE_UNREACH: "MP_UNREACH_NLRI", + 16: "EXTENDED COMMUNITIES", + ATTRIBUTE_AS4PATH: "AS4_PATH", + 18: "AS4_AGGREGATOR", + 19: "SAFI Specific Attribute (SSA) (deprecated)", + 20: "Connector Attribute (deprecated)", + 21: "AS_PATHLIMIT (deprecated)", + 22: "PMSI_TUNNEL", + 23: "Tunnel Encapsulation Attribute", + 24: "Traffic Engineering", + 25: "IPv6 Address Specific Extended Community", + 26: "AIGP", + 27: "PE Distinguisher Labels", + 28: "BGP Entropy Label Capability Attribute (deprecated)", + 29: "BGP-LS Attribute", + 30: "Deprecated", + 31: "Deprecated", + 32: "LARGE_COMMUNITY", + 33: "BGPsec_Path", + 34: "BGP Community Container Attribute", + 40: "BGP Prefix-SID", + 128: "ATTR_SET", + 129: "Deprecated", + 241: "Deprecated", + 242: "Deprecated", + 243: "Deprecated", } Afi = map[string]uint16{ "ipv4": AFI_IPV4,