diff options
author | csjp <csjp@FreeBSD.org> | 2011-01-14 04:24:53 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2011-01-14 04:24:53 +0000 |
commit | 4f835d886432299643a5e5d9bb5761068f88718c (patch) | |
tree | 71f28af952c3c1a97c8af46f81d3b3f01236e13a /sys/contrib/pf | |
parent | f65ba689ebb5cfac366ab2db6fd029a37be3b7c3 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/contrib/pf/net/pf_osfp.c | 2 |
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) |