diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-12-03 22:25:07 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-12-03 22:25:07 +0000 |
commit | 2e32b403e3e049f72c17ee5d6f7886de7351c654 (patch) | |
tree | 6a9a2b595e4978088ff12ef749686b290b5bf739 | |
parent | b70112e4775cc94a913f4a971ef06fe7f8a68ce6 (diff) |
reason int -> u_short. From Mike Pechkin.
-rw-r--r-- | sys/net/pf_norm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 4c69dab415b..c5bacc9c8d7 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.15 2001/11/06 11:48:29 dhartmei Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.16 2001/12/03 22:25:06 dhartmei Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -560,7 +560,8 @@ pf_normalize_tcp(int dir, struct ifnet *ifp, struct mbuf *m, int ipoff, { struct pf_rule *r, *rm = NULL; struct tcphdr *th = pd->hdr.tcp; - int rewrite = 0, reason; + int rewrite = 0; + u_short reason; u_int8_t flags, af = pd->af; r = TAILQ_FIRST(pf_rules_active); |