gentoo-overlay/net-analyzer/ifmetric/files/ifmetric-0.3-replybuf.patch

11 lines
300 B
Diff

--- a/src/nlrequest.c
+++ b/src/nlrequest.c
@@ -44,7 +44,7 @@
for (;;) {
int bytes;
- char replybuf[2048];
+ char replybuf[4096];
struct nlmsghdr *p = (struct nlmsghdr *) replybuf;
if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) {