commit | 42098b1c065b590adec71450061c2139d21bd9ca | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Mon Aug 27 22:54:23 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Mon Aug 27 22:54:23 2012 -0500 |
tree | 20bb418f189d92e46f547f1b2368b3fa09f89950 | |
parent | 869485ce3038820b178f946a118cdf46264764d8 [diff] [blame] |
Update with Locking
diff --git a/nlsr_adl.c b/nlsr_adl.c index 767d7bd..de6ad07 100644 --- a/nlsr_adl.c +++ b/nlsr_adl.c
@@ -103,7 +103,11 @@ if (res == HT_OLD_ENTRY) { nnbr=e->data; - nnbr->status=status; + if ( nnbr->status!=status ) + { + nnbr->status=status; + nlsr->adj_build_flag++; + } } else if(res == HT_NEW_ENTRY) {