diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 06:18:43 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 06:18:43 +0000 |
commit | 453a517a728d5b3def2c16e84d7b71ff26ff91b4 (patch) | |
tree | 2dc20ee2f9577e84b831a0c7f2f491351cb6c66b /sbin | |
parent | 964f14ada7e5c56c9b42936852c7bfd2e9cf2240 (diff) |
missing prototype, remember to use sa_family_t for af
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 | ||||
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 69655829fc9..62b7cb85fd2 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.106 2002/11/23 05:22:24 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.107 2002/11/23 06:18:42 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -396,7 +396,7 @@ print_fromto(struct pf_rule_addr *src, struct pf_rule_addr *dst, } void -print_pool(struct pf_pool *pool, int af, int id) +print_pool(struct pf_pool *pool, sa_family_t af, int id) { struct pf_pooladdr *pooladdr; diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index 38b11a4e54f..b598f3e4c31 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.28 2002/11/23 05:22:24 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.29 2002/11/23 06:18:42 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -81,6 +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_nat(struct pf_nat *); void print_binat(struct pf_binat *); void print_rdr(struct pf_rdr *); |