summaryrefslogtreecommitdiff
path: root/sbin/iked/pfkey.c
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2020-08-28 13:37:53 +0000
committertobhe <tobhe@cvs.openbsd.org>2020-08-28 13:37:53 +0000
commitb2e6ba7526d95103fb2c2c496a5d44aa144e30d1 (patch)
treed2c04bd85a001d30c1891964839ef7da614526b0 /sbin/iked/pfkey.c
parentaadb9c9b05cf567dfafc21cac77809f3e7ea3152 (diff)
Rename ikev2_*_sa() functions to make clear they handle Child SAs.
ok patrick@
Diffstat (limited to 'sbin/iked/pfkey.c')
-rw-r--r--sbin/iked/pfkey.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/iked/pfkey.c b/sbin/iked/pfkey.c
index 9ac87ebf738..38e6833208a 100644
--- a/sbin/iked/pfkey.c
+++ b/sbin/iked/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.69 2020/08/13 21:36:38 tobhe Exp $ */
+/* $OpenBSD: pfkey.c,v 1.70 2020/08/28 13:37:52 tobhe Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -1921,7 +1921,7 @@ pfkey_process(struct iked *env, struct pfkey_message *pm)
print_host(sdst, NULL, 0), print_host(dmask, NULL, 0),
print_host(speer, NULL, 0));
- ret = ikev2_acquire_sa(env, &flow);
+ ret = ikev2_child_sa_acquire(env, &flow);
out:
if (errmsg)
@@ -1968,9 +1968,9 @@ out:
"rekeying" : "deletion");
if (sa_ltime->sadb_lifetime_exttype == SADB_EXT_LIFETIME_SOFT)
- ret = ikev2_rekey_sa(env, &spi);
+ ret = ikev2_child_sa_rekey(env, &spi);
else
- ret = ikev2_drop_sa(env, &spi);
+ ret = ikev2_child_sa_drop(env, &spi);
break;
}
return (ret);