From 6977ffdf72ad2e7bd5973f695f4b6ebb23630517 Mon Sep 17 00:00:00 2001 From: wahidw Date: Sat, 8 Feb 2020 19:00:02 +0000 Subject: [PATCH] Corrected route table syntax in case of broadcast message Change-Id: Ia5f5c8005c1deb5be14d0c6567e3c050e9fe82a3 Signed-off-by: wahidw --- RELNOTES | 3 +++ container-tag.yaml | 2 +- pkg/rpe/rpe.go | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/RELNOTES b/RELNOTES index f9624b7..372c7d8 100644 --- a/RELNOTES +++ b/RELNOTES @@ -1,3 +1,6 @@ +### v0.4.13 +* Corrected route table syntax in case of broadcast message + ### v0.4.12 * Added debug API to request route and configuration details in routing manager diff --git a/container-tag.yaml b/container-tag.yaml index 371dd3c..e06d180 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -2,4 +2,4 @@ # By default this file is in the docker build directory, # but the location can configured in the JJB template. --- -tag: 0.4.12 +tag: 0.4.13 diff --git a/pkg/rpe/rpe.go b/pkg/rpe/rpe.go index 1c006b4..b5c6961 100644 --- a/pkg/rpe/rpe.go +++ b/pkg/rpe/rpe.go @@ -137,7 +137,10 @@ func (r *Rpe) addRoute_rx_list(messageType string, tx *rtmgr.Endpoint, rx []rtmg } if rx != nil { - rxList = []rtmgr.EndpointList{rx} + for _, item := range rx { + ep := []rtmgr.Endpoint{item} + rxList = append(rxList, ep) + } } messageId := strconv.Itoa(xapp.RICMessageTypes[messageType]) -- 2.16.6