diff --git a/protocols/bgp/server/update_sender_test.go b/protocols/bgp/server/update_sender_test.go index 3d251e423123a4bd45be73618827bcd23f14e4e5..d30f9b8f27312c9a23188af5d5fd482999b58757 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), }, }, },