increased receive buffer to handle more interfaces
authorMartin Willi <martin@strongswan.org>
Mon, 18 Jun 2007 05:56:18 +0000 (05:56 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 18 Jun 2007 05:56:18 +0000 (05:56 -0000)
src/charon/kernel/kernel_interface.c

index 8212841..919dad8 100644 (file)
@@ -856,7 +856,7 @@ static status_t netlink_send(private_kernel_interface_t *this,
        
        while (TRUE)
        {       
-               char buf[1024];
+               char buf[4096];
                tmp.len = sizeof(buf);
                tmp.ptr = buf;
                msg = (struct nlmsghdr*)tmp.ptr;