summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 17:01:12 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 17:01:50 +0100
commit50a9a48b2532d735d17bf3a74f0e1431d6d51417 (patch)
treef480edd0cec3a30d96c5129729da9ab7f778dc79 /src
parentd5efe1d64e977e76d38ec4f254396068d8a6cff1 (diff)
downloadfastd-50a9a48b2532d735d17bf3a74f0e1431d6d51417.tar
fastd-50a9a48b2532d735d17bf3a74f0e1431d6d51417.zip
iface: set iface name to NULL when Android integration is used
Diffstat (limited to 'src')
-rw-r--r--src/iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iface.c b/src/iface.c
index b448cbd..49be7d3 100644
--- a/src/iface.c
+++ b/src/iface.c
@@ -125,6 +125,7 @@ static void open_iface(fastd_iface_t *iface) {
pr_debug("using android TUN fd");
iface->fd = FASTD_POLL_FD(POLL_TYPE_IFACE, fastd_android_receive_tunfd());
+ iface->name = NULL;
fastd_android_send_pid();
} else {