diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-10-29 21:49:59 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-10-29 21:49:59 +0000 |
commit | 83f2ccef17176467707527dabd9216b2afe092c2 (patch) | |
tree | a7d1f38d503ecda00c8b42855567306246965ae1 /sbin/iked/config.c | |
parent | df7cbdab60153656c19a828195074a4d83bdb9e0 (diff) |
Add initial support to request IP addresses as IKEv2 initiator.
At the moment the address is only negotiated and printed to the
log. If 'request addr 0.0.0.0' is configured, any address will
be accepted.
ok patrick@
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r-- | sbin/iked/config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c index a3aeec0a14d..5985c5303fa 100644 --- a/sbin/iked/config.c +++ b/sbin/iked/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.71 2020/10/21 17:47:36 tobhe Exp $ */ +/* $OpenBSD: config.c,v 1.72 2020/10/29 21:49:58 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -173,6 +173,9 @@ config_free_sa(struct iked *env, struct iked_sa *sa) free(sa->sa_eapid); ibuf_release(sa->sa_eapmsk); + free(sa->sa_cp_addr); + free(sa->sa_cp_addr6); + free(sa->sa_tag); free(sa); } |