From 622149ad4d5b041ed7f5af36fb798d842e3d8025 Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Aug 2003 09:29:13 +0000 Subject: Temporary "fix" for segfault. See bug #29 in bugzilla for details. --- ospfd/ospf_zebra.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ospfd') 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); -- cgit v1.2.1