summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-03-05 10:43:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-03-05 10:43:33 +0000
commit951a150e6e41cef045402c7382c6cdf4d83f5f37 (patch)
treedf3154a0f0cb99d68fbeff698a23d03160cf217f /sys/net
parent86422cd5a4d973e267638885686c221861f9b190 (diff)
#if INET6 -> #ifdef INET6 to be consistent
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index e34435f37ed..3b5bb7d391d 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.1124 2022/02/08 18:08:33 deraadt Exp $ */
+/* $OpenBSD: pf.c,v 1.1125 2022/03/05 10:43:32 jsg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2380,7 +2380,7 @@ pf_translate_a(struct pf_pdesc *pd, struct pf_addr *a, struct pf_addr *an)
return (rewrite);
}
-#if INET6
+#ifdef INET6
/* pf_translate_af() may change pd->m, adjust local copies after calling */
int
pf_translate_af(struct pf_pdesc *pd)