diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-03-31 14:11:40 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-03-31 14:11:40 +0000 |
commit | cd7aee09c7d785ef93673ef9881fad74a97f8c1b (patch) | |
tree | e83901ff076ee4c60a4332c817e7e8775c55c74a /sbin | |
parent | d441e66f862a8a56c7ee1d20fdbf083499797d30 (diff) |
allow do delete dynamic rules
ok reyk@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipsecctl/ike.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c index fe82ede8705..2993f4fd754 100644 --- a/sbin/ipsecctl/ike.c +++ b/sbin/ipsecctl/ike.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike.c,v 1.22 2006/03/31 14:02:08 markus Exp $ */ +/* $OpenBSD: ike.c,v 1.23 2006/03/31 14:11:39 hshoexer Exp $ */ /* * Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -356,6 +356,7 @@ ike_delete_config(struct ipsec_rule *r, FILE *fd) { switch (r->ikemode) { case IKE_ACTIVE: + case IKE_DYNAMIC: fprintf(fd, "t IPsec-%s-%s\n", r->src->name, r->dst->name); break; case IKE_PASSIVE: |