sharpd: Dump metric received for the reachability

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-03-15 13:12:15 -04:00
parent 81ef5048dd
commit 877155ed06

View File

@ -685,7 +685,8 @@ static int sharp_nexthop_update(ZAPI_CALLBACK_ARGS)
return 0; 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 = sharp_nh_tracker_get(&nhr.prefix);
nht->nhop_num = nhr.nexthop_num; nht->nhop_num = nhr.nexthop_num;