diff options
author | 2021-01-19 10:30:00 +0000 | |
---|---|---|
committer | 2021-01-19 10:30:00 +0000 | |
commit | e4d7b1dae1af4f2ef7f2e4c07bb91e5f63d0a7ba (patch) | |
tree | 3740e62c804cc23254964321991b1cb420e027c4 | |
parent | Do not use IBUF_READ_SIZE for the packet read buffer size. Instead (diff) | |
download | wireguard-openbsd-e4d7b1dae1af4f2ef7f2e4c07bb91e5f63d0a7ba.tar.xz wireguard-openbsd-e4d7b1dae1af4f2ef7f2e4c07bb91e5f63d0a7ba.zip |
Forgot one IBUF_READ_SIZE to READ_BUF_SIZE change.
-rw-r--r-- | usr.sbin/ripd/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/packet.c b/usr.sbin/ripd/packet.c index 87afdf871d1..4a8b42f6661 100644 --- a/usr.sbin/ripd/packet.c +++ b/usr.sbin/ripd/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.15 2021/01/19 10:28:07 claudio Exp $ */ +/* $OpenBSD: packet.c,v 1.16 2021/01/19 10:30:00 claudio Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -107,7 +107,7 @@ recv_packet(int fd, short event, void *bula) bzero(&msg, sizeof(msg)); iov.iov_base = buf; - iov.iov_len = IBUF_READ_SIZE; + iov.iov_len = READ_BUF_SIZE; msg.msg_name = &src; msg.msg_namelen = sizeof(src); msg.msg_iov = &iov; |