diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-22 01:40:58 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-22 01:40:58 +0100 |
commit | 49be8b8c593ceb740fdaebdea3f15f2112d1cd1d (patch) | |
tree | cd6722e67f7a17c91e0f7995bbdb3404156e6a45 | |
parent | df387f268f8d30d0a21731406bf6031cd6ba9588 (diff) | |
download | fastd-49be8b8c593ceb740fdaebdea3f15f2112d1cd1d.tar fastd-49be8b8c593ceb740fdaebdea3f15f2112d1cd1d.zip |
tuntap: fix compilation for Android
-rw-r--r-- | src/tuntap.c | 2 |
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(); |