diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-31 05:15:52 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-31 05:15:52 +0200 |
commit | ae429e372a412cec84c6f67477bd9d429c485ff7 (patch) | |
tree | dff021c3e2ea332154f0930e7e3375931ef9099f /src/config.c | |
parent | 060c91156379c07fc714bc1c4de2a88a9ff9daa0 (diff) | |
download | fastd-ae429e372a412cec84c6f67477bd9d429c485ff7.tar fastd-ae429e372a412cec84c6f67477bd9d429c485ff7.zip |
Split main function
init() is still a bit long, but much better than before.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index 6119669..21c30c4 100644 --- a/src/config.c +++ b/src/config.c @@ -58,8 +58,6 @@ extern const fastd_protocol_t fastd_protocol_ec25519_fhmqvc; /** Initializes the global configuration with default values */ static void default_config(void) { - memset(&conf, 0, sizeof(fastd_config_t)); - conf.log_syslog_ident = strdup("fastd"); conf.mtu = 1500; |