mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
table: bug fix of ReceiveRoute String() method
use interface method Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
committed by
FUJITA Tomonori
parent
eeec5ffe93
commit
a28ec7a8f9
@@ -397,7 +397,7 @@ type ReceivedRoute struct {
|
||||
}
|
||||
|
||||
func (rr *ReceivedRoute) String() string {
|
||||
return rr.path.(*PathDefault).getPrefix()
|
||||
return rr.path.getPrefix()
|
||||
}
|
||||
|
||||
func NewReceivedRoute(path Path, filtered bool) *ReceivedRoute {
|
||||
|
||||
Reference in New Issue
Block a user