diff options
Diffstat (limited to 'include/libmnl')
-rw-r--r-- | include/libmnl/libmnl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index 1237b6d..6ca6fd4 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -21,7 +21,7 @@ extern "C" { */ #define MNL_SOCKET_AUTOPID 0 -#define MNL_SOCKET_BUFFER_SIZE 8192UL /* see linux/netlink.h */ +#define MNL_SOCKET_BUFFER_SIZE getpagesize() < 8192UL ? getpagesize() : 8192UL struct mnl_socket; |