summaryrefslogtreecommitdiffstats
path: root/src/tuntap.c
diff options
context:
space:
mode:
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 9cf5f15..7bd5f82 100644
--- a/src/tuntap.c
+++ b/src/tuntap.c
@@ -297,7 +297,7 @@ void fastd_tuntap_open(void) {
/** Reads a packet from the TUN/TAP device */
void fastd_tuntap_handle(void) {
- size_t max_len = fastd_max_inner_packet();
+ size_t max_len = fastd_max_payload();
fastd_buffer_t buffer;
if (multiaf_tun && conf.mode == MODE_TUN)