summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eigrpd/packet.c')
-rw-r--r--usr.sbin/eigrpd/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/eigrpd/packet.c b/usr.sbin/eigrpd/packet.c
index 519dba6e22a..193e4aa6685 100644
--- a/usr.sbin/eigrpd/packet.c
+++ b/usr.sbin/eigrpd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.18 2016/09/02 16:44:33 renato Exp $ */
+/* $OpenBSD: packet.c,v 1.19 2021/01/19 10:31:12 claudio Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -467,6 +467,7 @@ error:
void
recv_packet(int fd, short event, void *bula)
{
+ static char pkt_ptr[READ_BUF_SIZE];
union {
struct cmsghdr hdr;
char buf[CMSG_SPACE(CMSG_MAXLEN)];