diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-11 21:46:02 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-13 15:10:58 +0900 |
commit | be40351b8aa925a99798998514244a9d700c5691 (patch) | |
tree | fab570be6b31f246ad8d2d3ea752903747cd12d7 /packet/bgp/helper.go | |
parent | 7a3cc616c3126bff5245c7a97d7fbe2904a67a24 (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