diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-26 23:51:41 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-26 23:51:41 +0200 |
commit | 9fd69a7893040cee7339246d5b17ab92b4d58a43 (patch) | |
tree | e61d9ef3a40996214d7f738f642b9ac18e6bf95b /src/config.y | |
parent | 5074b7d5e10c2383a3379a6df8b0708783ac704b (diff) | |
download | fastd-9fd69a7893040cee7339246d5b17ab92b4d58a43.tar fastd-9fd69a7893040cee7339246d5b17ab92b4d58a43.zip |
Allow initating and accepting handshake instances to coexist; fix some memory corruption etc. found by Valgrind
Diffstat (limited to 'src/config.y')
-rw-r--r-- | src/config.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.y b/src/config.y index dc0f1be..210a33d 100644 --- a/src/config.y +++ b/src/config.y @@ -127,6 +127,8 @@ peer: maybe_string { current_peer->enabled = true; current_peer->address.sa.sa_family = AF_UNSPEC; + current_peer->key = NULL; + current_peer->protocol_config = NULL; } ; |