Fixed srcports parsing
This commit is contained in:
parent
df8ad3e866
commit
3e2fbb2c75
@ -327,18 +327,18 @@ class Rule(qubes.PropertyHolder):
|
|||||||
order=1,
|
order=1,
|
||||||
doc='destination host/network')
|
doc='destination host/network')
|
||||||
|
|
||||||
|
srcports = qubes.property('srcports',
|
||||||
|
type=SrcPorts,
|
||||||
|
default=None,
|
||||||
|
order=2,
|
||||||
|
doc='Inbound port(s) (for forwarding only)')
|
||||||
|
|
||||||
dstports = qubes.property('dstports',
|
dstports = qubes.property('dstports',
|
||||||
type=DstPorts,
|
type=DstPorts,
|
||||||
default=None,
|
default=None,
|
||||||
order=2,
|
order=2,
|
||||||
doc='Destination port(s) (for \'tcp\' and \'udp\' protocol only)')
|
doc='Destination port(s) (for \'tcp\' and \'udp\' protocol only)')
|
||||||
|
|
||||||
srcports = qubes.property('srcports',
|
|
||||||
type=DstPorts,
|
|
||||||
default=None,
|
|
||||||
order=2,
|
|
||||||
doc='Inbound port(s) (for forwarding only)')
|
|
||||||
|
|
||||||
icmptype = qubes.property('icmptype',
|
icmptype = qubes.property('icmptype',
|
||||||
type=IcmpType,
|
type=IcmpType,
|
||||||
default=None,
|
default=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user