summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 05:46:04 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 05:46:04 +0100
commit857a971c3e2c6da4a6feeef2072ef1011fedd38e (patch)
tree60f283fc136d6c27fb39f3c64a425a0e5910b2bb /src/fastd.c
parent15825beebf1b8675a19ca9098c932aa94ba5748e (diff)
downloadfastd-857a971c3e2c6da4a6feeef2072ef1011fedd38e.tar
fastd-857a971c3e2c6da4a6feeef2072ef1011fedd38e.zip
Some Android fixes for issues introduced by multi-interface support
Not really tested, I'll do that when the multiif support is finished.
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 43e0c9c..fd6f19e 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -500,7 +500,7 @@ static inline void init(int argc, char *argv[]) {
fastd_on_pre_up();
- if (conf.mode == MODE_TAP) {
+ if (conf.mode == MODE_TAP || fastd_use_android_integration()) {
ctx.iface = fastd_iface_open(conf.ifname, NULL);
if (!ctx.iface)
exit(1); /* An error message has already been printed by fastd_iface_open() */