Corrected route table syntax in case of broadcast message 56/2456/1
authorwahidw <abdulwahid.w@nokia.com>
Sat, 8 Feb 2020 19:00:02 +0000 (19:00 +0000)
committerwahidw <abdulwahid.w@nokia.com>
Sat, 8 Feb 2020 19:00:10 +0000 (19:00 +0000)
Change-Id: Ia5f5c8005c1deb5be14d0c6567e3c050e9fe82a3
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
RELNOTES
container-tag.yaml
pkg/rpe/rpe.go

index f9624b7..372c7d8 100644 (file)
--- 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 
 
index 371dd3c..e06d180 100644 (file)
@@ -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
index 1c006b4..b5c6961 100644 (file)
@@ -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])