diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-11-24 18:28:03 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-11-24 18:28:03 +0000 |
commit | 5460acda0cda78ccfa08605a33dad07c1451fce0 (patch) | |
tree | fc61f0c47e2639ce346fc937e08d93e60d7a57f1 /usr.sbin/ospfd/rde_lsdb.c | |
parent | 04603baab844b95908eff978bb0c1b88810f203c (diff) |
Initial support for stub areas. The bit still missing is the redistribution
of the default summary net lsa on ABRs but that is comming. OK norby@
Diffstat (limited to 'usr.sbin/ospfd/rde_lsdb.c')
-rw-r--r-- | usr.sbin/ospfd/rde_lsdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/rde_lsdb.c b/usr.sbin/ospfd/rde_lsdb.c index 24e8e8fc254..82e6d78f859 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.40 2008/02/11 12:37:37 norby Exp $ */ +/* $OpenBSD: rde_lsdb.c,v 1.41 2008/11/24 18:28:02 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -517,7 +517,7 @@ lsa_snap(struct area *area, u_int32_t peerid) rde_imsg_compose_ospfe(IMSG_DB_SNAPSHOT, peerid, 0, &v->lsa->hdr, sizeof(struct lsa_hdr)); } - if (tree != &area->lsa_tree) + if (tree != &area->lsa_tree || area->stub) break; tree = &asext_tree; } while (1); |