Fix block of dynamic route table load 36/3336/1 3.8.2
authorE. Scott Daniels <daniels@research.att.com>
Mon, 20 Apr 2020 17:17:04 +0000 (13:17 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Mon, 20 Apr 2020 17:17:04 +0000 (13:17 -0400)
A bug in the initialisation of RMR beginning with 3.7.2
was causing the dynamic update of routes to be blocked.
This change corrects that bug.

Issue-ID: RIC-336

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I517b0ba65808bb4853983f92bc57e93a22792014

CHANGES_CORE.txt
CMakeLists.txt
src/rmr/si/src/rmr_si.c

index 4c86356..89d0595 100644 (file)
@@ -5,6 +5,10 @@
 # API and build change  and fix summaries. Doc correctsions
 # and/or changes are not mentioned here; see the commit messages.
 
+2020 April 20; version 3.8.2
+       Fix bug which was preventing an instance receiving dynamic route
+       table updates. (RIC-336)
+
 2020 April 20; version 3.8.1
        Add user guide which replaces the concatenation of man pages (RIC-328)
 
index 863cd57..3109513 100644 (file)
@@ -40,7 +40,7 @@ cmake_minimum_required( VERSION 3.5 )
 
 set( major_version "3" )               # should be automatically populated from git tag later, but until CI process sets a tag we use this
 set( minor_version "8" )
-set( patch_level "1" )
+set( patch_level "2" )
 
 set( install_root "${CMAKE_INSTALL_PREFIX}" )
 set( install_inc "include/rmr" )
index 4aefe4a..d1b9f26 100644 (file)
@@ -623,7 +623,7 @@ static void* init(  char* uproto_port, int def_msg_size, int flags ) {
                port = proto_port;                      // assume something like "1234" was passed
        }
 
-       if( (tok = getenv( ENV_RTG_PORT )) != NULL && atoi( tok ) < 1 ) {       // must check here -- if < 1 then we just start static file 'listener'
+       if( (tok = getenv( ENV_RTG_PORT )) != NULL && atoi( tok ) < 0 ) {       // must check here -- if < 0 then we just start static file 'listener'
                static_rtc = 1;
        }