mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
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
This commit is contained in:
parent
4a814a5edb
commit
6627ad29b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217388
@ -601,7 +601,7 @@ pf_osfp_validate(void)
|
|||||||
if (find.fp_mss == 0)
|
if (find.fp_mss == 0)
|
||||||
find.fp_mss = 128;
|
find.fp_mss = 128;
|
||||||
if (f->fp_flags & PF_OSFP_WSIZE_MSS)
|
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)
|
else if (f->fp_flags & PF_OSFP_WSIZE_MTU)
|
||||||
find.fp_wsize *= (find.fp_mss + 40);
|
find.fp_wsize *= (find.fp_mss + 40);
|
||||||
else if (f->fp_flags & PF_OSFP_WSIZE_MOD)
|
else if (f->fp_flags & PF_OSFP_WSIZE_MOD)
|
||||||
|
Loading…
Reference in New Issue
Block a user