Skip to content

Commit

Permalink
zebra: clean up one comment
Browse files Browse the repository at this point in the history
With the commit `605df8d4`, all real things are moved into dplane.
So the operations mentioned in this comment have nothing to do with
this function `netlink_link_change()`.

Just remove that confusing and useless comment.

Signed-off-by: anlan_cs <anlan_cs@tom.com>
  • Loading branch information
anlancs committed May 2, 2024
1 parent a2f5018 commit 8a02942
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zebra/if_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,6 @@ int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)

ifi = NLMSG_DATA(h);

/* assume if not default zns, then new VRF */
if (!(h->nlmsg_type == RTM_NEWLINK || h->nlmsg_type == RTM_DELLINK)) {
/* If this is not link add/delete message so print warning. */
zlog_debug("%s: wrong kernel message %s", __func__,
Expand Down

0 comments on commit 8a02942

Please sign in to comment.