summaryrefslogtreecommitdiffstats
path: root/src/tuntap.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-27 22:44:56 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-27 22:44:56 +0200
commit64c79271c75987d94975cc3855617898b332b5a0 (patch)
treeccb23470412c87e6995145d5d71d54ecbd0b871d /src/tuntap.c
parentadb7453fae67c777974e1d4c1a5f80f2378c61c3 (diff)
downloadfastd-64c79271c75987d94975cc3855617898b332b5a0.tar
fastd-64c79271c75987d94975cc3855617898b332b5a0.zip
A bit more fastd.h cleanup
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)