summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 04:13:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-22 04:13:01 +0100
commitd5efe1d64e977e76d38ec4f254396068d8a6cff1 (patch)
tree26b40291a21231d9f1b8ff047a6c3e62dbb56bc3 /src/fastd.c
parent8d8af3aeab9af5b2f84eccc7355e7c9711fae6cb (diff)
downloadfastd-d5efe1d64e977e76d38ec4f254396068d8a6cff1.tar
fastd-d5efe1d64e977e76d38ec4f254396068d8a6cff1.zip
Rename tuntap to iface to match struct name
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 228d65e..69efca5 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -526,7 +526,7 @@ static inline void init(int argc, char *argv[]) {
on_pre_up();
- ctx.iface = fastd_tuntap_open(NULL);
+ ctx.iface = fastd_iface_open(NULL);
/* change groups before trying to write the PID file as they can be relevant for file access */
set_groups();
@@ -647,7 +647,7 @@ static inline void cleanup(void) {
delete_peers();
on_down(ctx.iface);
- fastd_tuntap_close(ctx.iface);
+ fastd_iface_close(ctx.iface);
fastd_status_close();
close_sockets();