- find.fp_wsize *= find.fp_mss, 1;
authorhenning <henning@openbsd.org>
Tue, 13 Jul 2010 12:56:06 +0000 (12:56 +0000)
committerhenning <henning@openbsd.org>
Tue, 13 Jul 2010 12:56:06 +0000 (12:56 +0000)
+                       find.fp_wsize *= find.fp_mss;
From: Ed Schouten <ed at FreeBSD.org>

sys/net/pf_osfp.c

index a620282..4783696 100644 (file)
@@ -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)