diff options
Diffstat (limited to 'pkg/packet/bgp')
-rw-r--r-- | pkg/packet/bgp/bgp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index 5403a5f3..c3e72969 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -4922,7 +4922,7 @@ func (n *OpaqueNLRI) Len(options ...*MarshallingOption) int { } func (n *OpaqueNLRI) String() string { - return fmt.Sprintf("%s", n.Key) + return string(n.Key) } func (n *OpaqueNLRI) MarshalJSON() ([]byte, error) { |