Put the 'antispoof' opcode in the proper place in the opcode list such
that it doesn't break the ipfw2 ABI.
This commit is contained in:
parent
c8a7b935f6
commit
5af87d0ea1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133849
@ -99,7 +99,6 @@ enum ipfw_opcodes { /* arguments (4 byte each) */
|
||||
|
||||
O_VERREVPATH, /* none */
|
||||
O_VERSRCREACH, /* none */
|
||||
O_ANTISPOOF, /* none */
|
||||
|
||||
O_PROBE_STATE, /* none */
|
||||
O_KEEP_STATE, /* none */
|
||||
@ -132,6 +131,7 @@ enum ipfw_opcodes { /* arguments (4 byte each) */
|
||||
O_IPSEC, /* has ipsec history */
|
||||
O_IP_SRC_LOOKUP, /* arg1=table number, u32=value */
|
||||
O_IP_DST_LOOKUP, /* arg1=table number, u32=value */
|
||||
O_ANTISPOOF, /* none */
|
||||
O_JAIL, /* u32 = id */
|
||||
|
||||
O_LAST_OPCODE /* not an opcode! */
|
||||
|
Loading…
Reference in New Issue
Block a user