summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-12-07 18:21:40 +0100
committerGitHub <noreply@github.com>2021-12-07 18:21:40 +0100
commit8acb2480a7d929b0c1dd2f82e7aa17d4f5836fbc (patch)
tree72f6acf47baf1d7088a220c3ee76e51978d3f048 /bfdd/bfd.c
parentMerge pull request #10187 from chiragshah6/freload (diff)
parentbfdd: remove unnecessary receive timer restart (diff)
downloadfrr-8acb2480a7d929b0c1dd2f82e7aa17d4f5836fbc.tar.xz
frr-8acb2480a7d929b0c1dd2f82e7aa17d4f5836fbc.zip
Merge pull request #10186 from idryzhov/bfd-receive-timer-cb
bfdd: remove unnecessary receive timer restart
Diffstat (limited to 'bfdd/bfd.c')
-rw-r--r--bfdd/bfd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfdd/bfd.c b/bfdd/bfd.c
index 5ca109eef..f4135fec1 100644
--- a/bfdd/bfd.c
+++ b/bfdd/bfd.c
@@ -639,14 +639,6 @@ int bfd_recvtimer_cb(struct thread *t)
case PTM_BFD_INIT:
case PTM_BFD_UP:
ptm_bfd_sess_dn(bs, BD_CONTROL_EXPIRED);
- bfd_recvtimer_update(bs);
- break;
-
- default:
- /* Second detect time expiration, zero remote discr (section
- * 6.5.1)
- */
- bs->discrs.remote_discr = 0;
break;
}