Revision c8236a50 proto/bgp/packets.c

View differences:

proto/bgp/packets.c
1408 1408

  
1409 1409
                /* Timer settings */
1410 1410
                tmp_prefix->dest_mrai_timer = tm_new_init(proto_pool, dest_mrai_timeout, &tmp_prefix->connections, 0, 0);
1411
                bgp_start_ms_timer(tmp_prefix->dest_mrai_timer, conn->bgp->cf->mrai_time);
1411
                bgp_start_ms_timer(tmp_prefix->dest_mrai_timer, conn->bgp->cf->mrai_time, conn->bgp->cf->mrai_jitter);
1412 1412
                HASH_INSERT2(sent_prefix_hash, PXH, proto_pool, tmp_prefix);
1413 1413

  
1414 1414
                /* Add prefix to the delayed bucket */
......
1450 1450
                    tmp_prefix->end_mrai = current_time() + conn->bgp->cf->mrai_time MS;
1451 1451

  
1452 1452
                    tmp_prefix->dest_mrai_timer = tm_new_init(proto_pool, dest_mrai_timeout, &tmp_prefix->connections, 0, 0);
1453
                    bgp_start_ms_timer(tmp_prefix->dest_mrai_timer, conn->bgp->cf->mrai_time);
1453
                    bgp_start_ms_timer(tmp_prefix->dest_mrai_timer, conn->bgp->cf->mrai_time, conn->bgp->cf->mrai_jitter);
1454 1454

  
1455 1455
                    /* Encode path ID */
1456 1456
                    if (s->add_path) {
......
3522 3522
                                    BGP_TRACE(D_PACKETS,
3523 3523
                                              "CONFERMATO PKT UPDATE, avvio il timer considerando un delay di %d ms",
3524 3524
                                              conn->bgp->cf->mrai_time);
3525
                                    bgp_start_ms_timer(conn->conn_mrai_timer, conn->bgp->cf->mrai_time);
3525
                                    bgp_start_ms_timer(conn->conn_mrai_timer, conn->bgp->cf->mrai_time, conn->bgp->cf->mrai_jitter);
3526 3526
                                }
3527 3527
                                log(L_FATAL
3528 3528
                                "{type: UPDATE_TX, dest: %s, to: %d, as_path: %s}", dest_ip, p->remote_as, buf_as_path);

Also available in: Unified diff