summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf/net/pf_osfp.c
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2011-01-14 04:24:53 +0000
committercsjp <csjp@FreeBSD.org>2011-01-14 04:24:53 +0000
commit4f835d886432299643a5e5d9bb5761068f88718c (patch)
tree71f28af952c3c1a97c8af46f81d3b3f01236e13a /sys/contrib/pf/net/pf_osfp.c
parentf65ba689ebb5cfac366ab2db6fd029a37be3b7c3 (diff)
downloadFreeBSD-src-4f835d886432299643a5e5d9bb5761068f88718c.zip
FreeBSD-src-4f835d886432299643a5e5d9bb5761068f88718c.tar.gz
Correct bogus initialization. It should be noted that this change
has been corrected in the vendor branch, but for now, silence clang warnings. Found by: clang Discussed with: mlaier MFC after: 1 week
Diffstat (limited to 'sys/contrib/pf/net/pf_osfp.c')
-rw-r--r--sys/contrib/pf/net/pf_osfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/pf/net/pf_osfp.c b/sys/contrib/pf/net/pf_osfp.c
index b36b257..225528d 100644
--- a/sys/contrib/pf/net/pf_osfp.c
+++ b/sys/contrib/pf/net/pf_osfp.c
@@ -601,7 +601,7 @@ pf_osfp_validate(void)
if (find.fp_mss == 0)
find.fp_mss = 128;
if (f->fp_flags & PF_OSFP_WSIZE_MSS)
- find.fp_wsize *= find.fp_mss, 1;
+ find.fp_wsize *= find.fp_mss;
else if (f->fp_flags & PF_OSFP_WSIZE_MTU)
find.fp_wsize *= (find.fp_mss + 40);
else if (f->fp_flags & PF_OSFP_WSIZE_MOD)
OpenPOWER on IntegriCloud