diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-05-28 16:43:46 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-05-28 16:43:46 +0000 |
commit | 927188e4ee9559c6875f702d392defc6e7d11608 (patch) | |
tree | a38b10a09c1661bd6e46b490f24df93c65cf1078 /sys/net/pf.c | |
parent | 971144a47ccb5bbcb9434aa0bc731630b5d65d24 (diff) |
Fix bad white spaces, wrap long lines, kill some empty lines.
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 243c0be10db..8961849bae0 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.1028 2017/05/28 14:54:00 bluhm Exp $ */ +/* $OpenBSD: pf.c,v 1.1029 2017/05/28 16:43:45 bluhm Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -238,8 +238,10 @@ struct pf_state *pf_find_state(struct pfi_kif *, struct pf_state_key_cmp *, u_int, struct mbuf *); int pf_src_connlimit(struct pf_state **); int pf_match_rcvif(struct mbuf *, struct pf_rule *); -int pf_step_into_anchor(struct pf_test_ctx *, struct pf_rule *); -int pf_match_rule(struct pf_test_ctx *, struct pf_ruleset *); +int pf_step_into_anchor(struct pf_test_ctx *, + struct pf_rule *); +int pf_match_rule(struct pf_test_ctx *, + struct pf_ruleset *); void pf_counters_inc(int, struct pf_pdesc *, struct pf_state *, struct pf_rule *, struct pf_rule *); @@ -3576,7 +3578,7 @@ pf_match_rule(struct pf_test_ctx *ctx, struct pf_ruleset *ruleset) ctx->test_status = PF_TEST_FAIL; break; } -#if NPFLOG > 0 +#if NPFLOG > 0 if (r->log) { REASON_SET(&ctx->reason, PFRES_MATCH); PFLOG_PACKET(ctx->pd, ctx->reason, r, @@ -3585,7 +3587,7 @@ pf_match_rule(struct pf_test_ctx *ctx, struct pf_ruleset *ruleset) #endif /* NPFLOG > 0 */ } else { /* - * found matching r + * found matching r */ *ctx->rm = r; /* |