summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/message.c
diff options
context:
space:
mode:
authormichele <michele@openbsd.org>2006-11-11 15:55:52 +0000
committermichele <michele@openbsd.org>2006-11-11 15:55:52 +0000
commitda0671469d942aee5b16594fdc9b081ec989c539 (patch)
tree0c4e634db313a7a271d95b9d29972b6a671eba62 /usr.sbin/ripd/message.c
parentadd quirk for the usb missile launcher (diff)
downloadwireguard-openbsd-da0671469d942aee5b16594fdc9b081ec989c539.tar.xz
wireguard-openbsd-da0671469d942aee5b16594fdc9b081ec989c539.zip
pass the right size of the message
OK henning@
Diffstat (limited to 'usr.sbin/ripd/message.c')
-rw-r--r--usr.sbin/ripd/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/message.c b/usr.sbin/ripd/message.c
index d6705477f30..469ae34cee7 100644
--- a/usr.sbin/ripd/message.c
+++ b/usr.sbin/ripd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.5 2006/11/10 10:28:18 michele Exp $ */
+/* $OpenBSD: message.c,v 1.6 2006/11/11 15:55:52 michele Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -421,7 +421,7 @@ recv_response(struct iface *i, struct nbr *nbr, char *buf, u_int16_t len)
r.ifindex = i->ifindex;
ripe_imsg_compose_rde(IMSG_ROUTE_FEED, 0, 0, (void *)&r,
- sizeof(*e));
+ sizeof(r));
e++;
}