summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ipsecctl.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-02 05:59:32 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-02 05:59:32 +0000
commit5f914c0eb1f34f923c5251126ed6a7d2c8663c0d (patch)
treeed2fb03d3cbcb65638b066a806553fd6c9892616 /sbin/ipsecctl/ipsecctl.c
parentad578685d095c60c83441c0b5e2a4fd1e9d18f35 (diff)
allow to specify phase 1 and 2 lifetimes. Right now, these values
can only be set globally (ie. Default-phase-[12]-lifetime).
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.c')
-rw-r--r--sbin/ipsecctl/ipsecctl.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c
index fe0c8d3745d..4020dcbcb3f 100644
--- a/sbin/ipsecctl/ipsecctl.c
+++ b/sbin/ipsecctl/ipsecctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.c,v 1.54 2006/06/01 17:32:20 naddy Exp $ */
+/* $OpenBSD: ipsecctl.c,v 1.55 2006/06/02 05:59:31 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -220,6 +220,14 @@ ipsecctl_free_rule(struct ipsec_rule *rp)
}
if (rp->xfs)
free(rp->xfs);
+ if (rp->mmxfs)
+ free(rp->mmxfs);
+ if (rp->qmxfs)
+ free(rp->qmxfs);
+ if (rp->mmlife)
+ free(rp->mmlife);
+ if (rp->qmlife)
+ free(rp->qmlife);
if (rp->authkey) {
free(rp->authkey->data);
free(rp->authkey);