From 7e7fceb1098140db1da005a98a2c228ba51d4b97 Mon Sep 17 00:00:00 2001 From: sashan Date: Fri, 17 Jul 2015 19:46:06 +0000 Subject: sa_family_t should not be confused with u_int8_t ok deraadt@, ok floarian@ --- sys/net/pfvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/net/pfvar.h') 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 **); -- cgit v1.2.3