From 50a9a48b2532d735d17bf3a74f0e1431d6d51417 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 22 Mar 2015 17:01:12 +0100 Subject: iface: set iface name to NULL when Android integration is used --- src/iface.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 { -- cgit v1.2.3