summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp/helper.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-02-11 21:46:02 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2018-02-13 15:10:58 +0900
commitbe40351b8aa925a99798998514244a9d700c5691 (patch)
treefab570be6b31f246ad8d2d3ea752903747cd12d7 /packet/bgp/helper.go
parent7a3cc616c3126bff5245c7a97d7fbe2904a67a24 (diff)
packet/bgp: Missing String()/MarshalJSON() of PathAttribute subs
First this patch removes String() and MarshalJSON() functions of PathAttribute struct. This helps to find the struct types which embed PathAttribute struct without having own String() and MarshalJSON() functions. If those functions of PathAttribute struct are unexpectedly called, those functions are not enough to display its contents. Then this patch implements missing String() and MarshalJSON() functions for some struct types which embed PathAttribute struct. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet/bgp/helper.go')
0 files changed, 0 insertions, 0 deletions