diff options
-rw-r--r-- | packet/bgp/bgp.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go index 2bc15ff2..53ee5209 100644 --- a/packet/bgp/bgp.go +++ b/packet/bgp/bgp.go @@ -4194,10 +4194,10 @@ type AsPathParamFormat struct { } var asPathParamFormatMap = map[uint8]*AsPathParamFormat{ - BGP_ASPATH_ATTR_TYPE_SET: &AsPathParamFormat{"{", "}", ","}, - BGP_ASPATH_ATTR_TYPE_SEQ: &AsPathParamFormat{"", "", " "}, - BGP_ASPATH_ATTR_TYPE_CONFED_SET: &AsPathParamFormat{"(", ")", " "}, - BGP_ASPATH_ATTR_TYPE_CONFED_SEQ: &AsPathParamFormat{"[", "]", ","}, + BGP_ASPATH_ATTR_TYPE_SET: {"{", "}", ","}, + BGP_ASPATH_ATTR_TYPE_SEQ: {"", "", " "}, + BGP_ASPATH_ATTR_TYPE_CONFED_SET: {"(", ")", " "}, + BGP_ASPATH_ATTR_TYPE_CONFED_SEQ: {"[", "]", ","}, } type AsPathParamInterface interface { |