summaryrefslogtreecommitdiffstats
path: root/src/tuntap.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-20 02:17:15 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-20 02:17:15 +0100
commitc6cce0f5aac6640d5946c7ba7a258a04deac9423 (patch)
treed3ecc15e3de49b4e8327f4c5b3e5272c2119a4ea /src/tuntap.c
parentb5112ff67f3dd5bb263f5ca6283f170906acaab6 (diff)
downloadfastd-c6cce0f5aac6640d5946c7ba7a258a04deac9423.tar
fastd-c6cce0f5aac6640d5946c7ba7a258a04deac9423.zip
Replace max_packet_size functions by a max_overhead field
Diffstat (limited to 'src/tuntap.c')
-rw-r--r--src/tuntap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuntap.c b/src/tuntap.c
index b9ff646..b1820f9 100644
--- a/src/tuntap.c
+++ b/src/tuntap.c
@@ -281,7 +281,7 @@ void fastd_tuntap_open(fastd_context_t *ctx) {
fastd_buffer_t fastd_tuntap_read(fastd_context_t *ctx) {
- size_t max_len = fastd_max_packet_size(ctx);
+ size_t max_len = fastd_max_inner_packet(ctx);
fastd_buffer_t buffer;
if (multiaf_tun && ctx->conf->mode == MODE_TUN)