diff options
Diffstat (limited to 'staticd/static_bfd.c')
-rw-r--r-- | staticd/static_bfd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/staticd/static_bfd.c b/staticd/static_bfd.c index a955d155e..fc8b518e1 100644 --- a/staticd/static_bfd.c +++ b/staticd/static_bfd.c @@ -28,6 +28,7 @@ #include "staticd/static_routes.h" #include "staticd/static_zebra.h" +#include "staticd/static_debug.h" #include "lib/openbsd-queue.h" @@ -45,13 +46,15 @@ static void static_next_hop_bfd_change(struct static_nexthop *sn, break; case BSS_DOWN: /* Peer went down, remove this next hop. */ - zlog_info("%s: next hop is down, remove it from RIB", __func__); + DEBUGD(&static_dbg_bfd, + "%s: next hop is down, remove it from RIB", __func__); sn->path_down = true; static_zebra_route_add(sn->pn, true); break; case BSS_UP: /* Peer is back up, add this next hop. */ - zlog_info("%s: next hop is up, add it to RIB", __func__); + DEBUGD(&static_dbg_bfd, "%s: next hop is up, add it to RIB", + __func__); sn->path_down = false; static_zebra_route_add(sn->pn, true); break; |