mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
zebra: Add debug statement for nexthop netlink messages
Add the zebra kernel debug statement for nexthop messages so we can see them via vtysh. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
1909e63acf
commit
e1536fce85
@ -1861,8 +1861,6 @@ int kernel_get_ipmr_sg_stats(struct zebra_vrf *zvrf, void *in)
|
||||
*/
|
||||
static int netlink_nexthop(int cmd, struct zebra_dplane_ctx *ctx)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
struct {
|
||||
struct nlmsghdr n;
|
||||
struct nhmsg nhm;
|
||||
@ -1944,10 +1942,7 @@ static int netlink_nexthop(int cmd, struct zebra_dplane_ctx *ctx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
if (ret) {
|
||||
zlog_debug("Something failed with inserting nhg into kernel");
|
||||
}
|
||||
_netlink_nexthop_debug(cmd, nhe->id);
|
||||
|
||||
return netlink_talk_info(netlink_talk_filter, &req.n,
|
||||
dplane_ctx_get_ns(ctx), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user