]> git.puffer.fish Git - matthieu/frr.git/commitdiff
sharpd: Dump metric received for the reachability
authorDonald Sharp <sharpd@nvidia.com>
Mon, 15 Mar 2021 17:12:15 +0000 (13:12 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 16 Mar 2021 14:35:40 +0000 (10:35 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
sharpd/sharp_zebra.c

index 0095aed547b517e939e12894ec608dea7cecdaa2..73bbaf0bc0367f7c30a5376dce329a96539eb641 100644 (file)
@@ -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;