Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow RTS calls prior to initial route table load
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
common
/
src
/
rt_generic_static.c
diff --git
a/src/rmr/common/src/rt_generic_static.c
b/src/rmr/common/src/rt_generic_static.c
index
185dbb1
..
597347a
100644
(file)
--- a/
src/rmr/common/src/rt_generic_static.c
+++ b/
src/rmr/common/src/rt_generic_static.c
@@
-786,6
+786,7
@@
static void parse_rt_rec( uta_ctx_t* ctx, uta_ctx_t* pctx, char* buf, int vleve
}
send_rt_ack( pctx, mbuf, ctx->table_id, RMR_OK, NULL );
}
send_rt_ack( pctx, mbuf, ctx->table_id, RMR_OK, NULL );
+ ctx->rtable_ready = 1; // route based sends can now happen
} else {
if( DEBUG > 1 ) rmr_vlog_force( RMR_VL_DEBUG, "end of route table noticed, but one was not started!\n" );
ctx->new_rtable = NULL;
} else {
if( DEBUG > 1 ) rmr_vlog_force( RMR_VL_DEBUG, "end of route table noticed, but one was not started!\n" );
ctx->new_rtable = NULL;