summaryrefslogtreecommitdiffhomepage
path: root/table/destination_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/destination_test.go')
-rw-r--r--table/destination_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/table/destination_test.go b/table/destination_test.go
index 2398773e..5dbab4d0 100644
--- a/table/destination_test.go
+++ b/table/destination_test.go
@@ -21,6 +21,7 @@ import (
"github.com/stretchr/testify/assert"
//"net"
"testing"
+ "time"
)
func TestDestinationNewIPv4(t *testing.T) {
@@ -134,7 +135,7 @@ func DestCreatePath(msgs []*ProcessMessage) []Path {
nlriList := updateMsgD.NLRI
pathAttributes := updateMsgD.PathAttributes
nlri_info := nlriList[0]
- pathD[i] = CreatePath(msg.fromPeer, &nlri_info, pathAttributes, false)
+ pathD[i] = CreatePath(msg.fromPeer, &nlri_info, pathAttributes, false, time.Now())
}
return pathD
}