Révision 664d2bb0
nftables::simplerule::dport - takes port ranges as part of the array
addresses issue 188
types/port.pp | ||
---|---|---|
1 | 1 |
# @summary |
2 | 2 |
# Represents a port expression to be used within a rule. |
3 | 3 |
type Nftables::Port = Variant[ |
4 |
Array[Stdlib::Port, 1],
|
|
4 |
Array[Variant[Nftables::Port::Range, Stdlib::Port], 1],
|
|
5 | 5 |
Stdlib::Port, |
6 | 6 |
Nftables::Port::Range, |
7 | 7 |
] |
Formats disponibles : Unified diff