summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 01:40:58 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 01:40:58 +0100
commit49be8b8c593ceb740fdaebdea3f15f2112d1cd1d (patch)
treecd6722e67f7a17c91e0f7995bbdb3404156e6a45
parentdf387f268f8d30d0a21731406bf6031cd6ba9588 (diff)
downloadfastd-49be8b8c593ceb740fdaebdea3f15f2112d1cd1d.tar
fastd-49be8b8c593ceb740fdaebdea3f15f2112d1cd1d.zip
tuntap: fix compilation for Android
-rw-r--r--src/tuntap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuntap.c b/src/tuntap.c
index e9e0cb4..591f8d4 100644
--- a/src/tuntap.c
+++ b/src/tuntap.c
@@ -132,7 +132,7 @@ void fastd_tuntap_open(void) {
}
pr_debug("using android TUN fd");
- ctx.tunfd = FASTD_POLL_FD(POLL_TYPE_IFACE(fastd_android_receive_tunfd()));
+ ctx.tunfd = FASTD_POLL_FD(POLL_TYPE_IFACE, fastd_android_receive_tunfd());
fastd_android_send_pid();