summaryrefslogtreecommitdiffstats
path: root/zebra/rt_netlink.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-01-28 19:55:31 +0100
committerDonald Sharp <sharpd@nvidia.com>2021-01-28 19:57:49 +0100
commitcadc15cfe24f23bf34f2e20939a809879b98f4d7 (patch)
treee575b7a7774ffc280d4d37e4168b49bf2c552521 /zebra/rt_netlink.c
parentbgpd: Remove #if 0 code (diff)
downloadfrr-cadc15cfe24f23bf34f2e20939a809879b98f4d7.tar.xz
frr-cadc15cfe24f23bf34f2e20939a809879b98f4d7.zip
zebra: Remove #if 0 code
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r--zebra/rt_netlink.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index d96d77e77..3af3586d3 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -2481,13 +2481,6 @@ static int netlink_nexthop_process_group(struct rtattr **tb,
return count;
}
-#if 0
- // TODO: Need type for something?
- zlog_debug("Nexthop group type: %d",
- *((uint16_t *)RTA_DATA(tb[NHA_GROUP_TYPE])));
-
-#endif
-
for (int i = 0; ((i < count) && (i < z_grp_size)); i++) {
z_grp[i].id = n_grp[i].id;
z_grp[i].weight = n_grp[i].weight + 1;