From 5144f86470fe8a2689da5da59cdf3c804bb4bed3 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Sat, 3 Jan 2009 00:23:51 +0000 Subject: Since link LSAs live in iface->lsa_tree and not in area->lsa_tree, we had better include LSAs from iface->lsa_tree when sending DB summaries. Fixes initial flood of link LSAs. ok claudio@ --- usr.sbin/ospf6d/rde.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospf6d/rde.h') diff --git a/usr.sbin/ospf6d/rde.h b/usr.sbin/ospf6d/rde.h index 346b1a28dba..0a8b2ec6333 100644 --- a/usr.sbin/ospf6d/rde.h +++ b/usr.sbin/ospf6d/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.6 2008/12/30 22:24:34 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.7 2009/01/03 00:23:50 stsp Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -141,7 +141,7 @@ void lsa_age(struct vertex *); struct vertex *lsa_find(struct iface *, u_int16_t, u_int32_t, u_int32_t); struct vertex *lsa_find_net(struct area *area, u_int32_t); u_int16_t lsa_num_links(struct vertex *); -void lsa_snap(struct area *, u_int32_t); +void lsa_snap(struct rde_nbr *, u_int32_t); void lsa_dump(struct lsa_tree *, int, pid_t); void lsa_merge(struct rde_nbr *, struct lsa *, struct vertex *); void lsa_remove_invalid_sums(struct area *); -- cgit v1.2.3