diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 05:46:04 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 05:46:04 +0100 |
commit | 857a971c3e2c6da4a6feeef2072ef1011fedd38e (patch) | |
tree | 60f283fc136d6c27fb39f3c64a425a0e5910b2bb /src/iface.c | |
parent | 15825beebf1b8675a19ca9098c932aa94ba5748e (diff) | |
download | fastd-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/iface.c')
-rw-r--r-- | src/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iface.c b/src/iface.c index 3361f72..d7caa30 100644 --- a/src/iface.c +++ b/src/iface.c @@ -162,7 +162,7 @@ static void open_iface_linux(fastd_iface_t *iface, const char *ifname, const cha static void open_iface(fastd_iface_t *iface, const char *ifname) { if (conf.android_integration) { if (get_iface_type() != IFACE_TYPE_TUN) - exit_error("Non root Android supports only TUN mode"); + exit_bug("Non-TUN iface type with Android integration"); pr_debug("using android TUN fd"); iface->fd = FASTD_POLL_FD(POLL_TYPE_IFACE, fastd_android_receive_tunfd()); |