diff options
| author | 2011-05-09 12:24:41 +0000 | |
|---|---|---|
| committer | 2011-05-09 12:24:41 +0000 | |
| commit | 097ed1982b44f2ec88eda04b5172e3d33ebe6c43 (patch) | |
| tree | 3bdff0eefafbae7ca2ad52f606f9e0739eb3ba03 /usr.sbin/ospfd/interface.c | |
| parent | Reorganize the relayd code to use the proc.c privsep API/commodity (diff) | |
| download | wireguard-openbsd-097ed1982b44f2ec88eda04b5172e3d33ebe6c43.tar.xz wireguard-openbsd-097ed1982b44f2ec88eda04b5172e3d33ebe6c43.zip | |
First bits to support opaque LSA. Type-9, 10 and 11 are LSA that can
hold about any data you like and is used for things like greaceful
reload. Implement the basic redistribute logic and LSDB handling but
the data sent is currently not looked at.
Tested and OK sthen@
Diffstat (limited to 'usr.sbin/ospfd/interface.c')
| -rw-r--r-- | usr.sbin/ospfd/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c index 6ab3c94be36..a7e30359751 100644 --- a/usr.sbin/ospfd/interface.c +++ b/usr.sbin/ospfd/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.71 2011/05/06 13:50:37 claudio Exp $ */ +/* $OpenBSD: interface.c,v 1.72 2011/05/09 12:24:41 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -167,6 +167,7 @@ if_new(struct kif *kif, struct kif_addr *ka) LIST_INIT(&iface->nbr_list); TAILQ_INIT(&iface->ls_ack_list); TAILQ_INIT(&iface->auth_md_list); + RB_INIT(&iface->lsa_tree); iface->crypt_seq_num = arc4random() & 0x0fffffff; |
