Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2007 11:53:39 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Remko Lodder <remko@FreeBSD.org>
Cc:        freebsd-ipfw@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/111121: After the latest changes ipfw2 complains: "ipfw: opcode 50 size 2 wrong"
Message-ID:  <4610B683.5070204@yandex.ru>
In-Reply-To: <200704020556.l325uvpA026134@freefall.freebsd.org>
References:  <200704020556.l325uvpA026134@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Remko Lodder пишет:
> Synopsis: After the latest changes ipfw2 complains: "ipfw: opcode 50 size 2 wrong"
> 
> Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw
> Responsible-Changed-By: remko
> Responsible-Changed-When: Mon Apr 2 05:56:31 UTC 2007
> Responsible-Changed-Why: 
> Over to ipfw maintainers
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=111121

Hi, try this patch.

--- src/sys/netinet/ip_fw2.c.orig       Mon Apr  2 11:48:03 2007
+++ src/sys/netinet/ip_fw2.c    Mon Nov 20 18:19:10 2006
@@ -3861,7 +3836,7 @@

                 case O_PIPE:
                 case O_QUEUE:
-                       if (cmdlen != F_INSN_SIZE(ipfw_insn))
+                       if (cmdlen != F_INSN_SIZE(ipfw_insn_pipe))
                                 goto bad_size;
                         goto check_action;


-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4610B683.5070204>