summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index b190205f..c43da3f4 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1874,7 +1874,7 @@ func (s *BgpServer) SoftReset(addr string, family bgp.RouteFamily) error {
func (s *BgpServer) validateTable(r *table.Table) (v []*table.Validation) {
if s.roaManager.enabled() {
- v := make([]*table.Validation, 0, len(r.GetDestinations()))
+ v = make([]*table.Validation, 0, len(r.GetDestinations()))
for _, d := range r.GetDestinations() {
for _, p := range d.GetAllKnownPathList() {
v = append(v, s.roaManager.validate(p))