From 133a1308b1d2e18611a184d0b42336639cadb06d Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Sun, 22 Nov 2015 13:09:11 +0000 Subject: Improve ABR support especially for self-originated stub networks. This seems to solve the last issues people reported when using ospfd in multiple areas. OK sthen@ prodding by deraadt@ --- usr.sbin/ospfd/rde_lsdb.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'usr.sbin/ospfd/rde_lsdb.c') diff --git a/usr.sbin/ospfd/rde_lsdb.c b/usr.sbin/ospfd/rde_lsdb.c index 115eb44ab93..c64b1d95f71 100644 --- a/usr.sbin/ospfd/rde_lsdb.c +++ b/usr.sbin/ospfd/rde_lsdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_lsdb.c,v 1.49 2013/08/14 20:16:09 claudio Exp $ */ +/* $OpenBSD: rde_lsdb.c,v 1.50 2015/11/22 13:09:10 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -119,10 +119,6 @@ vertex_nexthop_add(struct vertex *dst, struct vertex *parent, u_int32_t nexthop) { struct v_nexthop *vn; - if (nexthop == 0) - /* invalid nexthop, skip it */ - return; - if ((vn = calloc(1, sizeof(*vn))) == NULL) fatal("vertex_nexthop_add"); -- cgit v1.2.3