summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 8333d2e08..54614a232 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -619,7 +619,7 @@ rtadv_read (struct thread *thread)
/* Register myself. */
rtadv_event (zns, RTADV_READ, sock);
- len = rtadv_recv_packet (zns, sock, buf, BUFSIZ, &from, &ifindex, &hoplimit);
+ len = rtadv_recv_packet (zns, sock, buf, sizeof (buf), &from, &ifindex, &hoplimit);
if (len < 0)
{