diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 19:04:49 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 19:04:49 +0100 |
commit | 45d573ab617136670223de5e271f8e7398007c1c (patch) | |
tree | dee4d89c4646f9497dcd61ac4fe900371071a076 /src/fastd.c | |
parent | 1602e36635ad9523ae7dc4f7ab93b6a89b8741fd (diff) | |
download | fastd-45d573ab617136670223de5e271f8e7398007c1c.tar fastd-45d573ab617136670223de5e271f8e7398007c1c.zip |
Move ifname logic from peer to iface
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 5ac1967..0d4f577 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -527,7 +527,7 @@ static inline void init(int argc, char *argv[]) { on_pre_up(); if (conf.mode == MODE_TAP || fastd_use_android_integration()) { - ctx.iface = fastd_iface_open(conf.ifname, NULL); + ctx.iface = fastd_iface_open(NULL); if (!ctx.iface) exit(1); /* An error message has already been printed by fastd_iface_open() */ } |