linux: increase the netlink buffer size
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 13 Aug 2014 09:33:34 +0000 (11:33 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 19 Aug 2014 07:38:19 +0000 (09:38 +0200)
Mirror what iproute2 does.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/linux/kernel_routes_nl.c

index 76dfb0d..8d8e702 100644 (file)
@@ -77,7 +77,7 @@ static void rtnetlink_read(int sock, void *, unsigned int);
 struct olsr_rtreq {
   struct nlmsghdr n;
   struct rtmsg r;
-  char buf[512];
+  char buf[1024];
 };
 
 struct olsr_ipadd_req {