diff options
-rw-r--r-- | src/config.c | 1 | ||||
-rw-r--r-- | src/fastd.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 94c8980..e9d14c4 100644 --- a/src/config.c +++ b/src/config.c @@ -66,6 +66,7 @@ static void default_config(void) { conf.mtu = 1500; conf.mode = MODE_TAP; + conf.iface_persist = true; conf.secure_handshakes = true; conf.drop_caps = DROP_CAPS_ON; diff --git a/src/fastd.h b/src/fastd.h index 8704cc1..296f3b1 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -195,6 +195,7 @@ struct fastd_config { char *log_syslog_ident; /**< The identification string for messages sent to syslog (default: "fastd") */ char *ifname; /**< The configured interface name */ + bool iface_persist; /**< Configures if peer-specific interfaces should exist always, or only when there's an established connection */ size_t n_bind_addrs; /**< Number of elements in bind_addrs */ fastd_bind_address_t *bind_addrs; /**< Configured bind addresses */ |