From 0832f18f732ed3e5f01af48698cd1b960187059d Mon Sep 17 00:00:00 2001 From: Oliver Herms <oliver.herms@exaring.de> Date: Sat, 27 Oct 2018 12:22:22 +0200 Subject: [PATCH] Fix tests --- protocols/bgp/server/update_sender_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocols/bgp/server/update_sender_test.go b/protocols/bgp/server/update_sender_test.go index 516a2d59..3d251e42 100644 --- a/protocols/bgp/server/update_sender_test.go +++ b/protocols/bgp/server/update_sender_test.go @@ -38,6 +38,7 @@ func TestSender(t *testing.T) { Type: 2, BGPPath: &route.BGPPath{ LocalPref: 100, + NextHop: bnet.IPv4(0), }, }, pfxs: []bnet.Prefix{ @@ -52,6 +53,7 @@ func TestSender(t *testing.T) { Type: 2, BGPPath: &route.BGPPath{ LocalPref: 200, + NextHop: bnet.IPv4(0), }, }, pfxs: []bnet.Prefix{ -- GitLab