summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/lsupdate.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2009-06-05 19:34:00 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2009-06-05 19:34:00 +0000
commit1602fb21c249be1b31193fdce7680df0b641b4a8 (patch)
tree4dbe76394c9a5b14ff01caa07a6bfc979407a243 /usr.sbin/ospfd/lsupdate.c
parentafb1c16a00506939d346089ba9c0e151425809da (diff)
make ospfd's imsg lib ready as well.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/lsupdate.c')
-rw-r--r--usr.sbin/ospfd/lsupdate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c
index 80cec73580e..1b8f68e0ba2 100644
--- a/usr.sbin/ospfd/lsupdate.c
+++ b/usr.sbin/ospfd/lsupdate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsupdate.c,v 1.36 2009/03/13 03:58:26 claudio Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.37 2009/06/05 19:33:59 pyr Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -270,8 +270,8 @@ 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,
- buf, ntohs(lsa.len));
+ imsg_compose_event(ibuf_rde, IMSG_LS_UPD, nbr->peerid, 0,
+ -1, buf, ntohs(lsa.len));
buf += ntohs(lsa.len);
len -= ntohs(lsa.len);
}