summaryrefslogtreecommitdiff
path: root/sys/net/pf_norm.c
diff options
context:
space:
mode:
authorPhilipp Buehler <pb@cvs.openbsd.org>2004-04-28 02:43:10 +0000
committerPhilipp Buehler <pb@cvs.openbsd.org>2004-04-28 02:43:10 +0000
commitfbc3da186093d0f377959cbb178704df3df7fbbf (patch)
treeb125686ba91f29f28d0cc7ea1252db065034584e /sys/net/pf_norm.c
parent0109542fc439ac9a11f415a835810794b4c3aeb2 (diff)
Dont step into INET6 code, just because af != AF_INET
Also comment #endif properly while being here ok mcbride@
Diffstat (limited to 'sys/net/pf_norm.c')
-rw-r--r--sys/net/pf_norm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c
index 2fc6049b166..fd306c6d978 100644
--- a/sys/net/pf_norm.c
+++ b/sys/net/pf_norm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_norm.c,v 1.83 2004/04/27 18:28:07 frantzen Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.84 2004/04/28 02:43:09 pb Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -1192,7 +1192,7 @@ pf_normalize_ip6(struct mbuf **m0, int dir, struct pfi_kif *kif,
PFLOG_PACKET(kif, h, m, AF_INET6, dir, *reason, r, NULL, NULL);
return (PF_DROP);
}
-#endif
+#endif /* INET6 */
int
pf_normalize_tcp(int dir, struct pfi_kif *kif, struct mbuf *m, int ipoff,