diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-07-07 22:00:37 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-07-07 22:00:37 +0000 |
commit | 6fb2eddb8f3f64886c1e5af28d9ce141f683c154 (patch) | |
tree | f251452209b87dc406d29a528256120d6dfd9f1b /sbin/ipsecctl/ipsecctl.c | |
parent | cc14e57b56cc8938c5a3aad6319c89aaa6593336 (diff) |
set flow type (use, require, etc.) when a rule is created. Up to now this was
done while crafting the corresponding pfkey message.
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.c')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c index b1a562e7aed..c5466c216c4 100644 --- a/sbin/ipsecctl/ipsecctl.c +++ b/sbin/ipsecctl/ipsecctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.c,v 1.15 2005/07/07 21:13:00 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.c,v 1.16 2005/07/07 22:00:36 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -213,7 +213,7 @@ ipsecctl_print_rule(struct ipsec_rule *r, int opts) printf("\n\tdstid %s", r->auth.dstid); if (r->auth.type > 0) printf("\n\t%s", auth[r->auth.type]); - printf("\n\ttype %s", type[r->type]); + printf("\n\ttype %s", type[r->flowtype]); } printf("\n"); } |