Skip to content

Commit

Permalink
Merge pull request FRRouting#12623 from anlancs/fix/zerbra-debug-cosm…
Browse files Browse the repository at this point in the history
…etic-changes

zebra: cosmetic changes for debug
  • Loading branch information
ton31337 authored Jan 11, 2023
2 parents 979a047 + 64a29a0 commit bbcfd66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zebra/rt_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -4389,7 +4389,7 @@ static ssize_t netlink_neigh_update_ctx(const struct zebra_dplane_ctx *ctx,
"Tx %s family %s IF %s(%u) Neigh %pIA %s %s flags 0x%x state 0x%x %sext_flags 0x%x",
nl_msg_type_to_str(cmd), nl_family_to_str(family),
dplane_ctx_get_ifname(ctx), dplane_ctx_get_ifindex(ctx),
ip, link_ip ? "Link " : "MAC ", buf2, flags, state,
ip, link_ip ? "Link" : "MAC", buf2, flags, state,
ext ? "ext " : "", ext_flags);

return netlink_neigh_update_msg_encode(
Expand Down
4 changes: 2 additions & 2 deletions zebra/zebra_dplane.c
Original file line number Diff line number Diff line change
Expand Up @@ -5070,8 +5070,8 @@ neigh_update_internal(enum dplane_op_e op, const struct interface *ifp,
ipaddr2str(link_ip, buf1, sizeof(buf1));
zlog_debug("init neigh ctx %s: ifp %s, %s %s, ip %pIA",
dplane_op2str(op), ifp->name,
link_family == AF_ETHERNET ? "mac " : "link ",
buf1, ip);
link_family == AF_ETHERNET ? "mac" : "link", buf1,
ip);
}

ctx = dplane_ctx_alloc();
Expand Down

0 comments on commit bbcfd66

Please sign in to comment.