mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
src and dst address were erroneously swapped in SRC_SET and DST_SET
commands. Use the correct one. Also affects ipfw2 in -stable.
This commit is contained in:
parent
65b8577640
commit
18f13da2be
1 changed files with 2 additions and 2 deletions
|
|
@ -1608,8 +1608,8 @@ check_body:
|
|||
u_int32_t *d = (u_int32_t *)(cmd+1);
|
||||
u_int32_t addr =
|
||||
cmd->opcode == O_IP_DST_SET ?
|
||||
args->f_id.src_ip :
|
||||
args->f_id.dst_ip;
|
||||
args->f_id.dst_ip :
|
||||
args->f_id.src_ip;
|
||||
|
||||
if (addr < d[0])
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue