From a28ec7a8f908345ea73fabfeb89ca5ba4028b4ba Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sat, 28 Mar 2015 18:00:25 +0000 Subject: table: bug fix of ReceiveRoute String() method use interface method Signed-off-by: ISHIDA Wataru --- table/table_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'table') diff --git a/table/table_manager.go b/table/table_manager.go index 90f243c2..f7619d11 100644 --- a/table/table_manager.go +++ b/table/table_manager.go @@ -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 { -- cgit v1.2.3