summaryrefslogtreecommitdiffstats
path: root/zebra/if_netlink.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2023-04-29 01:49:35 +0200
committeranlan_cs <anlan_cs@tom.com>2024-05-02 10:36:01 +0200
commit8a02942eda6784758557c954c28b82b732fe391b (patch)
tree74b262bab7fc2426aab499a01af31b9b4da5087a /zebra/if_netlink.c
parentMerge pull request #15892 from donaldsharp/parse_attr_problems (diff)
downloadfrr-8a02942eda6784758557c954c28b82b732fe391b.tar.xz
frr-8a02942eda6784758557c954c28b82b732fe391b.zip
zebra: clean up one comment
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>
Diffstat (limited to '')
-rw-r--r--zebra/if_netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c
index 5f096e303..323351987 100644
--- a/zebra/if_netlink.c
+++ b/zebra/if_netlink.c
@@ -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__,