table: bug fix of ReceiveRoute String() method

use interface method

Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
ISHIDA Wataru
2015-04-04 13:19:01 +09:00
committed by FUJITA Tomonori
parent eeec5ffe93
commit a28ec7a8f9
+1 -1
View File
@@ -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 {