summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-21 17:26:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-21 17:26:00 +0000
commit2801a0a5dd2f6b6d40e67629a603300ff723e839 (patch)
treee132d1396ef1f11167da975ee79cd79697e5aea0
parent75a7479eb9ac36651d7b299b23c9fc5ff550135e (diff)
KNF
-rw-r--r--sys/net/pf.c8
-rw-r--r--sys/net/pfvar.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index db23a73af83..db6f901a5de 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.134 2001/08/21 01:54:17 frantzen Exp $ */
+/* $OpenBSD: pf.c,v 1.135 2001/08/21 17:25:59 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1001,7 +1001,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
TAILQ_INSERT_BEFORE(oldrule, newrule, entries);
else
TAILQ_INSERT_AFTER(pf_rules_active, oldrule,
- newrule, entries);
+ newrule, entries);
}
TAILQ_FOREACH(oldrule, pf_rules_active, entries)
@@ -2644,8 +2644,8 @@ pf_test_state_tcp(struct pf_state **state, int direction, struct ifnet *ifp,
SEQ_GEQ(seq, src->seqlo - dst->max_win) ? ' ': '2',
(ackskew >= -MAXACKWINDOW) ? ' ' : '3',
(ackskew <= MAXACKWINDOW) ? ' ' : '4',
- SEQ_GEQ(src->seqhi + MAXACKWINDOW, end) ?' ' :'5',
- SEQ_GEQ(seq, src->seqlo - MAXACKWINDOW) ?' ' :'6');
+ SEQ_GEQ(src->seqhi + MAXACKWINDOW, end) ?' ' :'5',
+ SEQ_GEQ(seq, src->seqlo - MAXACKWINDOW) ?' ' :'6');
}
return (PF_DROP);
}
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 931c75847d7..c9656de395d 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: pfvar.h,v 1.44 2001/08/19 20:25:22 dhartmei Exp $ */
+/* $OpenBSD: pfvar.h,v 1.45 2001/08/21 17:25:59 deraadt Exp $ */
/*
- * Copyright (c) 2001, Daniel Hartmeier
+ * Copyright (c) 2001 Daniel Hartmeier
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without