Projet

Général

Profil

Révision 664d2bb0

ID664d2bb09b6e1aa56e44e35aac32f2036b65070e
Parent 2ba59bcc
Enfant 4acda787

Ajouté par Tim Skirvin il y a presque 2 ans

nftables::simplerule::dport - takes port ranges as part of the array

addresses issue 188

Voir les différences:

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