diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-03-28 18:00:25 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-04 13:19:01 +0900 |
commit | a28ec7a8f908345ea73fabfeb89ca5ba4028b4ba (patch) | |
tree | 2574a4cd5ce111e1ebe2e0d56936914219c56d9c /table | |
parent | eeec5ffe939f597599b636dd96f764fa666e1115 (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.go | 2 |
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 { |