summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-28 18:00:25 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-04 13:19:01 +0900
commita28ec7a8f908345ea73fabfeb89ca5ba4028b4ba (patch)
tree2574a4cd5ce111e1ebe2e0d56936914219c56d9c /table
parenteeec5ffe939f597599b636dd96f764fa666e1115 (diff)
table: bug fix of ReceiveRoute String() method
use interface method Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/table_manager.go2
1 files changed, 1 insertions, 1 deletions
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 {