summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go
index 03b9cbd2..b6cfbf0e 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1285,6 +1285,7 @@ func (s *BgpServer) AddPath(vrfId string, pathList []*table.Path) (uuidBytes []b
}
if len(pathList) == 1 {
pathList[0].AssignNewUUID()
+ uuidBytes = pathList[0].UUID().Bytes()
}
s.propagateUpdate(nil, pathList)
return nil