summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-22 23:08:14 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-22 23:08:14 +0900
commit56f5c27011c50b3073cd30f5e9592da172203766 (patch)
treef0d6916d7aab2fa534ca013167d3db3be4ec71a9
parent6cffab405aaee92ba3f0b065be1f0ea9cc11cf9f (diff)
table: remove timestamp in ReceivedRoute
Path has timestamp. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--table/table_manager.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/table/table_manager.go b/table/table_manager.go
index 375e7b2b..9a6f6e7b 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -298,7 +298,6 @@ func (adj *AdjRib) DropAllIn(rf bgp.RouteFamily) {
type ReceivedRoute struct {
path Path
filtered bool
- timestamp time.Time
}
func (rr *ReceivedRoute) String() string {
@@ -310,7 +309,6 @@ func NewReceivedRoute(path Path, filtered bool) *ReceivedRoute {
rroute := &ReceivedRoute{
path: path,
filtered: filtered,
- timestamp: time.Now(),
}
return rroute
}