diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 04:32:46 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 04:32:46 +0100 |
commit | c162b223b8965490839b4d56701a8f37d5304a71 (patch) | |
tree | df9a02ffd1d096bdb956c6726d97461a66f9b124 /src/fastd.c | |
parent | baf23ebb6333deee1f7b67f83e7a125c21f2d535 (diff) | |
download | fastd-c162b223b8965490839b4d56701a8f37d5304a71.tar fastd-c162b223b8965490839b4d56701a8f37d5304a71.zip |
iface: add ifname argument
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 8ce10c8..43e0c9c 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -501,7 +501,7 @@ static inline void init(int argc, char *argv[]) { fastd_on_pre_up(); if (conf.mode == MODE_TAP) { - ctx.iface = fastd_iface_open(NULL); + ctx.iface = fastd_iface_open(conf.ifname, NULL); if (!ctx.iface) exit(1); /* An error message has already been printed by fastd_iface_open() */ } |