summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ipsecctl.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2006-06-01 16:13:02 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2006-06-01 16:13:02 +0000
commit15b2b0c06935f80ecdea2078d253d32ca147eae7 (patch)
tree067e8b51ff6fe6076e560ba531a69b00223125a0 /sbin/ipsecctl/ipsecctl.c
parent84bc49520ee64cef137281b61044494ac1b7a920 (diff)
convert pfkey to ipsec_rule and use ipsecctl_print_rule() when dumping
the in-kernel SAs. this way we produce the same output as rule loading ok hshoexer
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.c')
-rw-r--r--sbin/ipsecctl/ipsecctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c
index bfc8e35d876..1224bddb983 100644
--- a/sbin/ipsecctl/ipsecctl.c
+++ b/sbin/ipsecctl/ipsecctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.c,v 1.51 2006/06/01 15:47:26 hshoexer Exp $ */
+/* $OpenBSD: ipsecctl.c,v 1.52 2006/06/01 16:13:01 markus Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -50,7 +50,6 @@ void ipsecctl_print_proto(u_int8_t);
void ipsecctl_print_key(struct ipsec_key *);
void ipsecctl_print_flow(struct ipsec_rule *, int);
void ipsecctl_print_sa(struct ipsec_rule *, int);
-void ipsecctl_print_rule(struct ipsec_rule *, int);
int ipsecctl_flush(int);
void ipsecctl_get_rules(struct ipsecctl *);
void ipsecctl_print_title(char *);