diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-01-03 00:23:51 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-01-03 00:23:51 +0000 |
commit | 5144f86470fe8a2689da5da59cdf3c804bb4bed3 (patch) | |
tree | 8f201c56c54014bcad8f9e08d54c2fb3e521696f /usr.sbin/ospf6d/rde.c | |
parent | 1a4470b69096b9c76b4484f00a41f0286e0d6870 (diff) |
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@
Diffstat (limited to 'usr.sbin/ospf6d/rde.c')
-rw-r--r-- | usr.sbin/ospf6d/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index cdbc3a04031..21abaa74213 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.13 2008/12/30 21:31:54 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.14 2009/01/03 00:23:50 stsp Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -294,7 +294,7 @@ rde_dispatch_imsg(int fd, short event, void *bula) if (nbr == NULL) break; - lsa_snap(nbr->area, imsg.hdr.peerid); + lsa_snap(nbr, imsg.hdr.peerid); imsg_compose(ibuf_ospfe, IMSG_DB_END, imsg.hdr.peerid, 0, NULL, 0); |