summaryrefslogtreecommitdiff
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2023-01-24 16:52:54 -0300
committerGitHub <noreply@github.com>2023-01-24 16:52:54 -0300
commit21188a567a33171685048bca838e804d78d355cc (patch)
tree37516e9db40b37fc4fced5bd1a32121f058ce175 /staticd/static_zebra.c
parente784f789fb7af43027eeee55a3f16026ab36b9e4 (diff)
parentf6e7fbdae9660d7abbb344b5e19fc68fb87bda78 (diff)
Merge pull request #12670 from louis-6wind/fix-bfd-zclient
lib: do not reopen a zclient socket for bfd
Diffstat (limited to 'staticd/static_zebra.c')
-rw-r--r--staticd/static_zebra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index 316247adb3..85e4b1c033 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -211,6 +211,9 @@ static int static_zebra_nexthop_update(ZAPI_CALLBACK_ARGS)
return 1;
}
+ if (zclient->bfd_integration)
+ bfd_nht_update(&matched, &nhr);
+
if (matched.family == AF_INET6)
afi = AFI_IP6;