summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pf_print_state.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 22:01:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 22:01:29 +0000
commita13dae36dcb9cadaebd55a49190afc6d3b223c8e (patch)
tree8b7848eeda7bc3bf424649548e437579643c832e /sbin/pfctl/pf_print_state.c
parent05a9b00ba2dad2a103b0550d1ff770c9dea41c67 (diff)
knf (cedric did not do it right)
Diffstat (limited to 'sbin/pfctl/pf_print_state.c')
-rw-r--r--sbin/pfctl/pf_print_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pf_print_state.c b/sbin/pfctl/pf_print_state.c
index 02e99e55d71..58ce23a9aee 100644
--- a/sbin/pfctl/pf_print_state.c
+++ b/sbin/pfctl/pf_print_state.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_print_state.c,v 1.32 2003/07/04 11:05:16 henning Exp $ */
+/* $OpenBSD: pf_print_state.c,v 1.33 2003/07/06 22:01:28 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -66,8 +66,8 @@ print_addr(struct pf_addr_wrap *addr, sa_family_t af, int verbose)
return;
case PF_ADDR_ADDRMASK:
if (PF_AZERO(&addr->v.a.addr, AF_INET6) &&
- PF_AZERO(&addr->v.a.mask, AF_INET6))
- printf("any");
+ PF_AZERO(&addr->v.a.mask, AF_INET6))
+ printf("any");
else {
char buf[48];