summaryrefslogtreecommitdiffstats
path: root/sharpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-03-15 18:12:15 +0100
committerDonald Sharp <sharpd@nvidia.com>2021-03-16 15:35:40 +0100
commit877155ed06ef73d8d4855cd3a42f4dce31c4e838 (patch)
treef2541ba35b49c895921791c9070a248f20b7da83 /sharpd
parentMerge pull request #8260 from volta-networks/fix_isis_snmp_test (diff)
downloadfrr-877155ed06ef73d8d4855cd3a42f4dce31c4e838.tar.xz
frr-877155ed06ef73d8d4855cd3a42f4dce31c4e838.zip
sharpd: Dump metric received for the reachability
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'sharpd')
-rw-r--r--sharpd/sharp_zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 0095aed54..73bbaf0bc 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;