diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-11-22 13:09:11 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-11-22 13:09:11 +0000 |
commit | 133a1308b1d2e18611a184d0b42336639cadb06d (patch) | |
tree | 4b3c0b7c15cddafdc92075e137627d95655a1893 /usr.sbin/ospfd/rde_lsdb.c | |
parent | 7ced6c1796420a2a7af7561e238ea2f55322fe69 (diff) |
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@
Diffstat (limited to 'usr.sbin/ospfd/rde_lsdb.c')
-rw-r--r-- | usr.sbin/ospfd/rde_lsdb.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 <claudio@openbsd.org> @@ -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"); |