From c162b223b8965490839b4d56701a8f37d5304a71 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 23 Mar 2015 04:32:46 +0100 Subject: iface: add ifname argument --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fastd.c') 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() */ } -- cgit v1.2.3