]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: clean up one comment
authoranlan_cs <vic.lan@pica8.com>
Fri, 28 Apr 2023 23:49:35 +0000 (07:49 +0800)
committeranlan_cs <anlan_cs@tom.com>
Thu, 2 May 2024 08:36:01 +0000 (16:36 +0800)
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>
zebra/if_netlink.c

index 5f096e3039b1950d343fc49e5a1d26dce943292b..32335198733b2b511c2a90db811955ea49803aed 100644 (file)
@@ -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__,