diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2021-02-22 21:58:13 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2021-02-22 21:58:13 +0000 |
commit | 4abf464afc46edeba2f68ffb311875ef2ec1b217 (patch) | |
tree | 75f66ec6230a1895e6cf82a7a3cf2a2dfc56e96d /sbin/iked/iked.c | |
parent | e42525cea32fffd8d9e91bae265c1dfd689efc95 (diff) |
Don't pass 'id' as argument to make function signature match similar
functions. config_setpfkey() is always called with id PROC_IKEV2.
Diffstat (limited to 'sbin/iked/iked.c')
-rw-r--r-- | sbin/iked/iked.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 5fe91b518dd..963f74cdfd0 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.54 2021/02/13 16:14:12 tobhe Exp $ */ +/* $OpenBSD: iked.c,v 1.55 2021/02/22 21:58:12 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -228,7 +228,7 @@ parent_configure(struct iked *env) } env->sc_pfkey = -1; - config_setpfkey(env, PROC_IKEV2); + config_setpfkey(env); /* Send private and public keys to cert after forking the children */ if (config_setkeys(env) == -1) |