diff options
Diffstat (limited to 'packet')
-rw-r--r-- | packet/bgp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp.go b/packet/bgp.go index 464ec018..84169bcc 100644 --- a/packet/bgp.go +++ b/packet/bgp.go @@ -1894,7 +1894,7 @@ func (p *PathAttributeAsPath) MarshalJSON() ([]byte, error) { } return json.Marshal(struct { Type string - AsPath []uint32 + AsPath []uint32 `json:"as_path,omitempty"` }{ Type: p.Type.String(), AsPath: aslist, |