summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y2
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;
}
;