Skip to content

Commit 5488d49

Browse files
authored
Merge pull request #19179 from FRRouting/mergify/bp/stable/10.0/pr-18592
bfdd: Set bfd.LocalDiag when transitioning to AdminDown (backport #18592)
2 parents f3df256 + a65ccfd commit 5488d49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bfdd/bfd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,7 @@ void bfd_set_shutdown(struct bfd_session *bs, bool shutdown)
12561256
return;
12571257

12581258
SET_FLAG(bs->flags, BFD_SESS_FLAG_SHUTDOWN);
1259+
bs->local_diag = BD_ADMIN_DOWN;
12591260

12601261
/* Handle data plane shutdown case. */
12611262
if (bs->bdc) {

0 commit comments

Comments
 (0)