summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {