Increase message buffer size
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 12:59:04 +0000 (14:59 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 12:59:04 +0000 (14:59 +0200)
src/rtnl.c

index 61205b3..1e66a9a 100644 (file)
@@ -415,7 +415,7 @@ static void rtnl_message(void *buf, size_t len)
 static gboolean netlink_event(GIOChannel *chan,
                                GIOCondition cond, gpointer data)
 {
-       unsigned char buf[256];
+       unsigned char buf[4096];
        gsize len;
        GIOError err;