diff options
author | claudio <claudio@openbsd.org> | 2006-02-10 18:30:47 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2006-02-10 18:30:47 +0000 |
commit | b71687089b59138af52321573f25c576c1137517 (patch) | |
tree | e92e2fcc3877ae98dcf2c86f79ba00337f47b121 /usr.sbin/ospfd/lsupdate.c | |
parent | forgot to document CVS/Baserev.tmp, so here it is. (diff) | |
download | wireguard-openbsd-b71687089b59138af52321573f25c576c1137517.tar.xz wireguard-openbsd-b71687089b59138af52321573f25c576c1137517.zip |
ospfd does not need fd passing via the imsg framework so remove that code
and remove other unneeded functions that are only used in bgpd.
Diffstat (limited to 'usr.sbin/ospfd/lsupdate.c')
-rw-r--r-- | usr.sbin/ospfd/lsupdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c index 9a4d3e95901..4d63b9c3bec 100644 --- a/usr.sbin/ospfd/lsupdate.c +++ b/usr.sbin/ospfd/lsupdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsupdate.c,v 1.23 2006/01/05 15:10:57 norby Exp $ */ +/* $OpenBSD: lsupdate.c,v 1.24 2006/02/10 18:30:47 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -267,7 +267,7 @@ recv_ls_update(struct nbr *nbr, char *buf, u_int16_t len) "neighbor ID %s", inet_ntoa(nbr->id)); return; } - imsg_compose(ibuf_rde, IMSG_LS_UPD, nbr->peerid, 0, -1, + imsg_compose(ibuf_rde, IMSG_LS_UPD, nbr->peerid, 0, buf, ntohs(lsa.len)); buf += ntohs(lsa.len); len -= ntohs(lsa.len); |