diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-29 10:10:15 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-29 10:10:15 -0400 | 
| commit | b440fe5c82f73a4f34ebc59ac07e95f56e1193e0 (patch) | |
| tree | 8fc9b00b7b2d4057bd70e7d1fa7085a3036733bc /zebra/irdp_main.c | |
| parent | 3127371595cd10e6da89ceb2c387a26ee3ff83f7 (diff) | |
| parent | 8471aeb4f598b7368dda6bb15c2f22e33fc2fdd1 (diff) | |
Merge remote-tracking branch 'origin/stable/3.0'
Diffstat (limited to 'zebra/irdp_main.c')
| -rw-r--r-- | zebra/irdp_main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c index 8e4ebfda60..a155331c9b 100644 --- a/zebra/irdp_main.c +++ b/zebra/irdp_main.c @@ -234,7 +234,7 @@ int irdp_send_thread(struct thread *t_advert)        }    tmp = irdp->MaxAdvertInterval-irdp->MinAdvertInterval; -  timer =  (random () % tmp ) + 1; +  timer = random () % (tmp + 1);    timer = irdp->MinAdvertInterval + timer;    if(irdp->irdp_sent <  MAX_INITIAL_ADVERTISEMENTS &&  | 
