summaryrefslogtreecommitdiff
path: root/curvetun.h
diff options
context:
space:
mode:
Diffstat (limited to 'curvetun.h')
-rw-r--r--curvetun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/curvetun.h b/curvetun.h
index 46a3d4b..2274124 100644
--- a/curvetun.h
+++ b/curvetun.h
@@ -22,7 +22,7 @@ struct ct_proto {
} __attribute__((packed));
/* FIXME: think up sth better */
-#define TUNBUFF_SIZ (3 * getpagesize())
+#define TUNBUFF_SIZ (3 * RUNTIME_PAGE_SIZE)
#define MAX_EPOLL_SIZE 10000
#define THREADS_PER_CPU 2