From 877155ed06ef73d8d4855cd3a42f4dce31c4e838 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 15 Mar 2021 13:12:15 -0400 Subject: [PATCH] sharpd: Dump metric received for the reachability Signed-off-by: Donald Sharp --- sharpd/sharp_zebra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c index 0095aed547..73bbaf0bc0 100644 --- a/sharpd/sharp_zebra.c +++ b/sharpd/sharp_zebra.c @@ -685,7 +685,8 @@ static int sharp_nexthop_update(ZAPI_CALLBACK_ARGS) return 0; } - zlog_debug("Received update for %pFX", &nhr.prefix); + zlog_debug("Received update for %pFX metric: %u", &nhr.prefix, + nhr.metric); nht = sharp_nh_tracker_get(&nhr.prefix); nht->nhop_num = nhr.nexthop_num;