diff options
author | Juliusz Chroboczek <jch@pps.jussieu.fr> | 2012-02-11 13:08:00 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-25 17:06:54 +0100 |
commit | 52d54422bdc0b70356d84a38a0ce15ba5dea03e0 (patch) | |
tree | 175c986de70da9ccb9e88ec137a2577713653d42 /babeld/resend.c | |
parent | 359be3d0e4db5c931b1ad0dabbac2dea77394de1 (diff) |
Resynchronise with babeld-1.3.1.
Diffstat (limited to 'babeld/resend.c')
-rw-r--r-- | babeld/resend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/resend.c b/babeld/resend.c index 5a786fcd..1cc6290e 100644 --- a/babeld/resend.c +++ b/babeld/resend.c @@ -123,7 +123,7 @@ record_resend(int kind, const unsigned char *prefix, unsigned char plen, else if(delay) resend->delay = delay; resend->time = babel_now; - resend->max = kind == RESEND_REQUEST ? 128 : UPDATE_MAX; + resend->max = RESEND_MAX; if(id && memcmp(resend->id, id, 8) == 0 && seqno_compare(resend->seqno, seqno) > 0) { return 0; @@ -140,7 +140,7 @@ record_resend(int kind, const unsigned char *prefix, unsigned char plen, if(resend == NULL) return -1; resend->kind = kind; - resend->max = kind == RESEND_REQUEST ? 128 : UPDATE_MAX; + resend->max = RESEND_MAX; resend->delay = delay; memcpy(resend->prefix, prefix, 16); resend->plen = plen; |