diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2006-11-11 15:55:53 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2006-11-11 15:55:53 +0000 |
commit | 3d6cff53379ada68d18f4ea43295e76eb1828c1b (patch) | |
tree | 0d4383d574b384a8a61cdc49686e908a22deb182 /usr.sbin/ripd/message.c | |
parent | b7ff158da3f9b693e4fc319a9ef8a0f010646524 (diff) |
pass the right size of the message
OK henning@
Diffstat (limited to 'usr.sbin/ripd/message.c')
-rw-r--r-- | usr.sbin/ripd/message.c | 4 |
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++; } |