diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-28 12:14:26 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-28 12:14:26 +0000 |
commit | 5d70fd749f43e3bf31f76b7d833124eb424ef784 (patch) | |
tree | 5b32152f8f9d9b27679e7e9584317610091c64e5 /sbin/pfctl/pfctl_parser.h | |
parent | 563f988877d21e09d7dc97c503a4ba8059ebded3 (diff) |
- Adjust to match replacement of md5 with pf_hash
- Allow keys to be specified in hex (must be 128 bits, mainly to make
pfctl -v output paresable by pfctl) or as a string. Randomly generate key
if one is not specified.
Suggestions and fixes from camield@
ok mickey@ camield@ henning@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index b598f3e4c31..4782c55f751 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.29 2002/11/23 06:18:42 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.30 2002/11/28 12:14:25 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -81,7 +81,7 @@ int parse_rules(FILE *, struct pfctl *); int parse_flags(char *); void print_rule(struct pf_rule *); -void print_pool(struct pf_pool *, sa_family_t, int); +void print_pool(struct pf_pool *, u_int16_t, u_int16_t, sa_family_t, int); void print_nat(struct pf_nat *); void print_binat(struct pf_binat *); void print_rdr(struct pf_rdr *); |