From 9bc694485620e0de6a9f3e13b23714ae8550e19f Mon Sep 17 00:00:00 2001
From: Oliver Herms <oliver.herms@exaring.de>
Date: Sat, 27 Oct 2018 12:40:02 +0200
Subject: [PATCH] Fixing tests

---
 protocols/bgp/server/update_sender_test.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/protocols/bgp/server/update_sender_test.go b/protocols/bgp/server/update_sender_test.go
index 3d251e42..d30f9b8f 100644
--- a/protocols/bgp/server/update_sender_test.go
+++ b/protocols/bgp/server/update_sender_test.go
@@ -103,6 +103,7 @@ func TestSender(t *testing.T) {
 						Type: 2,
 						BGPPath: &route.BGPPath{
 							LocalPref: 100,
+							NextHop:   bnet.IPv4(0),
 						},
 					},
 					pfxs: []bnet.Prefix{
@@ -117,6 +118,7 @@ func TestSender(t *testing.T) {
 						Type: 2,
 						BGPPath: &route.BGPPath{
 							LocalPref: 200,
+							NextHop:   bnet.IPv4(0),
 						},
 					},
 					pfxs: []bnet.Prefix{
@@ -182,6 +184,7 @@ func TestSender(t *testing.T) {
 						Type: 2,
 						BGPPath: &route.BGPPath{
 							LocalPref: 100,
+							NextHop:   bnet.IPv4(0),
 						},
 					},
 				},
-- 
GitLab