mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 18:57:14 +01:00
see #2260 tested neq
This commit is contained in:
parent
a6b873a313
commit
d4b79a1d35
@ -431,10 +431,10 @@ void ObjectSignature::setDstPortRangeFromPortOp(const QString &port_op,
|
||||
;
|
||||
}
|
||||
|
||||
if ((portop == "lt" || portop == "gt") && ! port_range_inclusive)
|
||||
if ( ! port_range_inclusive)
|
||||
{
|
||||
src_port_range_start++;
|
||||
src_port_range_end--;
|
||||
if (portop == "lt") dst_port_range_end--;
|
||||
if (portop == "gt") dst_port_range_start++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user