diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-03-15 13:12:15 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-03-16 10:35:40 -0400 | 
| commit | 877155ed06ef73d8d4855cd3a42f4dce31c4e838 (patch) | |
| tree | f2541ba35b49c895921791c9070a248f20b7da83 /sharpd/sharp_zebra.c | |
| parent | 81ef5048dd229570f27c524d6d6268caecf3b663 (diff) | |
sharpd: Dump metric received for the reachability
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'sharpd/sharp_zebra.c')
| -rw-r--r-- | sharpd/sharp_zebra.c | 3 | 
1 files changed, 2 insertions, 1 deletions
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;  | 
