summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2003-08-07 09:29:13 +0000
committerhasso <hasso>2003-08-07 09:29:13 +0000
commit622149ad4d5b041ed7f5af36fb798d842e3d8025 (patch)
tree65ca40ee4c8793d8bddeb05172748504654b1d91
parent5fdc1e525707dfa651db0aec38bec13b17adc8f2 (diff)
Temporary "fix" for segfault. See bug #29 in bugzilla for details.
-rw-r--r--ospfd/ospf_zebra.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 34be6969..a17f893d 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -431,8 +431,10 @@ ospf_zebra_delete (struct prefix_ipv4 *p, struct ospf_route *or)
}
else
{
- api.ifindex_num = 1;
- api.ifindex = &path->oi->ifp->ifindex;
+ /* Commented out by Hasso because it introduces segfault.
+ * See bug #29 in bugzilla for details. */
+ /* api.ifindex_num = 1;
+ api.ifindex = &path->oi->ifp->ifindex; */
}
zapi_ipv4_delete (zclient, p, &api);