kern/111121: After the latest changes ipfw2 complains: "ipfw: opcode 50 size 2 wrong"

Andrey V. Elsukov bu7cher at yandex.ru
Mon Apr 2 07:53:51 UTC 2007


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


More information about the freebsd-ipfw mailing list