diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2010-07-13 12:56:07 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2010-07-13 12:56:07 +0000 |
commit | a081f8110862cc90d53d2805d1f9c4c132384411 (patch) | |
tree | 6b17cc5db089e09287449499e5426ee9370c3c79 | |
parent | e40ba6bb9db41109f10ab8db594f474e7df2aeb5 (diff) |
- find.fp_wsize *= find.fp_mss, 1;
+ find.fp_wsize *= find.fp_mss;
From: Ed Schouten <ed at FreeBSD.org>
-rw-r--r-- | sys/net/pf_osfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c index a620282d4c4..478369654ca 100644 --- a/sys/net/pf_osfp.c +++ b/sys/net/pf_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_osfp.c,v 1.17 2010/04/09 20:58:06 oga Exp $ */ +/* $OpenBSD: pf_osfp.c,v 1.18 2010/07/13 12:56:06 henning Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org> @@ -560,7 +560,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) |