From 2801a0a5dd2f6b6d40e67629a603300ff723e839 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 21 Aug 2001 17:26:00 +0000 Subject: KNF --- sys/net/pf.c | 8 ++++---- sys/net/pfvar.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/net') 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 -- cgit v1.2.3