summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-04-15 19:10:50 -0300
committerGitHub <noreply@github.com>2018-04-15 19:10:50 -0300
commitaecba4e88ae7ca5a14df178cbd1982812c5cd489 (patch)
tree16d7e3c38df7da9c373049a5823b74ad46a6efa5 /ospf6d/ospf6_zebra.c
parent6b4fdc1cb134ebf0b03df22426aa13c5c51984f8 (diff)
parentbd6b2706b31f49df13927a055e2e824d3357ce6a (diff)
Merge pull request #2054 from qlyoung/sa-fixes
Static analyzer fixes
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 8c2e706d17..8458d19952 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -127,13 +127,6 @@ static int ospf6_zebra_if_del(int command, struct zclient *zclient,
zlog_debug("Zebra Interface delete: %s index %d mtu %d",
ifp->name, ifp->ifindex, ifp->mtu6);
-#if 0
- /* XXX: ospf6_interface_if_del is not the right way to handle this,
- * because among other thinkable issues, it will also clear all
- * settings as they are contained in the struct ospf6_interface. */
- ospf6_interface_if_del (ifp);
-#endif /*0*/
-
if_set_index(ifp, IFINDEX_INTERNAL);
return 0;
}