summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsashan <sashan@cvs.openbsd.org>2015-07-17 19:46:06 +0000
committersashan <sashan@cvs.openbsd.org>2015-07-17 19:46:06 +0000
commit7e7fceb1098140db1da005a98a2c228ba51d4b97 (patch)
treeb4b65ed15b11c8ce538ae8cb265a540e1754c125
parentf9f0e606de923b88ebe7dcc244f6d77f944f7b5a (diff)
sa_family_t should not be confused with u_int8_t
ok deraadt@, ok floarian@
-rw-r--r--sys/net/pfvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index fe018d9b48e..784596e619d 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.416 2015/07/16 21:14:21 mpi Exp $ */
+/* $OpenBSD: pfvar.h,v 1.417 2015/07/17 19:46:05 sashan Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1791,7 +1791,7 @@ extern void pf_print_flags(u_int8_t);
extern struct ifnet *sync_ifp;
extern struct pf_rule pf_default_rule;
extern void pf_addrcpy(struct pf_addr *, struct pf_addr *,
- u_int8_t);
+ sa_family_t);
void pf_rm_rule(struct pf_rulequeue *,
struct pf_rule *);
void pf_purge_rule(struct pf_ruleset *,
@@ -1984,7 +1984,7 @@ struct pf_os_fingerprint *
pf_osfp_validate(void);
#ifdef _KERNEL
-void pf_print_host(struct pf_addr *, u_int16_t, u_int8_t);
+void pf_print_host(struct pf_addr *, u_int16_t, sa_family_t);
int pf_get_transaddr(struct pf_rule *, struct pf_pdesc *,
struct pf_src_node **, struct pf_rule **);