summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2019-10-29 16:12:27 +0100
committerGitHub <noreply@github.com>2019-10-29 16:12:27 +0100
commit37cdb6e91dd8410bb884c15a818a37775e9cd135 (patch)
treea3dfd4ab29c70ddb3e2713d7b723a71bcc4115da /isisd
parentMerge pull request #5240 from donaldsharp/zebra_nhg_sa (diff)
parentbfdd: Handling local and remote admin-down (diff)
downloadfrr-37cdb6e91dd8410bb884c15a818a37775e9cd135.tar.xz
frr-37cdb6e91dd8410bb884c15a818a37775e9cd135.zip
Merge pull request #5197 from SumitAgarwal123/BFD_ADMIN_DOWN
bfdd: Handling local and remote admin-down
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_bfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_bfd.c b/isisd/isis_bfd.c
index 8fc7997d7..cf4b84179 100644
--- a/isisd/isis_bfd.c
+++ b/isisd/isis_bfd.c
@@ -118,7 +118,8 @@ static void bfd_adj_event(struct isis_adjacency *adj, struct prefix *dst,
int old_status = adj->bfd_session->status;
- adj->bfd_session->status = new_status;
+ BFD_SET_CLIENT_STATUS(adj->bfd_session->status, new_status);
+
if (old_status == new_status)
return;