|
@@ -327,17 +327,17 @@ class Rule(qubes.PropertyHolder):
|
|
|
order=1,
|
|
|
doc='destination host/network')
|
|
|
|
|
|
- dstports = qubes.property('dstports',
|
|
|
- type=DstPorts,
|
|
|
+ srcports = qubes.property('srcports',
|
|
|
+ type=SrcPorts,
|
|
|
default=None,
|
|
|
order=2,
|
|
|
- doc='Destination port(s) (for \'tcp\' and \'udp\' protocol only)')
|
|
|
-
|
|
|
- srcports = qubes.property('srcports',
|
|
|
+ doc='Inbound port(s) (for forwarding only)')
|
|
|
+
|
|
|
+ dstports = qubes.property('dstports',
|
|
|
type=DstPorts,
|
|
|
default=None,
|
|
|
order=2,
|
|
|
- doc='Inbound port(s) (for forwarding only)')
|
|
|
+ doc='Destination port(s) (for \'tcp\' and \'udp\' protocol only)')
|
|
|
|
|
|
icmptype = qubes.property('icmptype',
|
|
|
type=IcmpType,
|