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
Correct bug identified in static analysis
[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
dcedb49
..
a25a449
100644
(file)
--- a/
src/rmr/common/src/rt_generic_static.c
+++ b/
src/rmr/common/src/rt_generic_static.c
@@
-1081,7
+1081,7
@@
static void parse_rt_rec( uta_ctx_t* ctx, uta_ctx_t* pctx, char* buf, int vleve
break;
case 'u': // update current table, not a total replacement
break;
case 'u': // update current table, not a total replacement
- if( !
ctx->flags & CFL_FULLRT ) {
// we cannot update until we have a full table from route generator
+ if( !
(ctx->flags & CFL_FULLRT) ) {
// we cannot update until we have a full table from route generator
rmr_vlog( RMR_VL_WARN, "route table update ignored: full table not previously recevied" );
break;
}
rmr_vlog( RMR_VL_WARN, "route table update ignored: full table not previously recevied" );
break;
}