summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasso <hasso>2003-08-07 09:29:13 +0000
committerhasso <hasso>2003-08-07 09:29:13 +0000
commit50349885ea8ab9fb773b450285e278c90eebf99c (patch)
tree8554a11a655bb3e4edb7974ae3ae2c9390cdf8bc
parentac0d31a6d228b90da5967f4f58c1afd27a5e4451 (diff)
downloadquagga-50349885ea8ab9fb773b450285e278c90eebf99c.tar.bz2
quagga-50349885ea8ab9fb773b450285e278c90eebf99c.tar.xz
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);