diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2006-06-01 16:13:02 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2006-06-01 16:13:02 +0000 |
commit | 15b2b0c06935f80ecdea2078d253d32ca147eae7 (patch) | |
tree | 067e8b51ff6fe6076e560ba531a69b00223125a0 /sbin/ipsecctl/ipsecctl.h | |
parent | 84bc49520ee64cef137281b61044494ac1b7a920 (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.h')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h index eb8e5ef6206..8b3e7ba8067 100644 --- a/sbin/ipsecctl/ipsecctl.h +++ b/sbin/ipsecctl/ipsecctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.h,v 1.41 2006/06/01 15:53:39 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.h,v 1.42 2006/06/01 16:13:01 markus Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -189,6 +189,7 @@ int cmdline_symset(char *); int ipsecctl_add_rule(struct ipsecctl *, struct ipsec_rule *); void ipsecctl_free_rule(struct ipsec_rule *); void ipsecctl_get_rules(struct ipsecctl *); +void ipsecctl_print_rule(struct ipsec_rule *, int); int ike_print_config(struct ipsec_rule *, int); int ike_ipsec_establish(int, struct ipsec_rule *); void set_ipmask(struct ipsec_addr_wrap *, u_int8_t); |