1
0
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:
Vadim Kurland 2011-03-21 14:21:51 -07:00
parent a6b873a313
commit d4b79a1d35

View File

@ -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++;
}
}