summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
Diffstat (limited to 'packet')
-rw-r--r--packet/mrt/mrt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/mrt/mrt.go b/packet/mrt/mrt.go
index 1b7c3e05..0c009e80 100644
--- a/packet/mrt/mrt.go
+++ b/packet/mrt/mrt.go
@@ -443,9 +443,9 @@ func NewRibEntry(index uint16, time uint32, pathId uint32, pathAttrs []bgp.PathA
func (e *RibEntry) String() string {
if e.isAddPath {
- return fmt.Sprintf("RIB_ENTRY: PeerIndex [%d] OriginatedTime [%d] PathIdentifier[%d] PathAttrs [%v]", e.PeerIndex, e.OriginatedTime, e.PathIdentifier, e.PathAttributes)
+ return fmt.Sprintf("RIB_ENTRY: PeerIndex [%d] OriginatedTime [%d] PathIdentifier[%d] PathAttributes [%v]", e.PeerIndex, e.OriginatedTime, e.PathIdentifier, e.PathAttributes)
} else {
- return fmt.Sprintf("RIB_ENTRY: PeerIndex [%d] OriginatedTime [%d] PathAttrs [%v]", e.PeerIndex, e.OriginatedTime, e.PathAttributes)
+ return fmt.Sprintf("RIB_ENTRY: PeerIndex [%d] OriginatedTime [%d] PathAttributes [%v]", e.PeerIndex, e.OriginatedTime, e.PathAttributes)
}
}