diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-01-06 14:00:26 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-01-16 05:06:03 -0800 |
commit | 665b8cc324b8d003b7c99c8c49f5bb8e9f942bd2 (patch) | |
tree | c30b266d164d596d81679296a696c312e12eb4ab /packet | |
parent | 69caa0d15b7bab893874b145633c8aaee0cb5a4f (diff) |
packet/bgp: Remove redundant type declaration "AsPathParamFormat"
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet')
-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 { |