Projet

Général

Profil

Révision df9a09bb

IDdf9a09bb3b8bde7c47097fee9779a12ee2f1bfd3
Parent 7c92861a
Enfant f29ea029

Ajouté par Kienan Stewart il y a plus de 4 ans

Fix nftables::rules::nfs3 syntax to work with nftables 0.9.0

Voir les différences:

manifests/rules/nfs3.pp
2 2
class nftables::rules::nfs3 {
3 3
  nftables::rule {
4 4
    'default_in-nfs3':
5
      content => 'meta l4proto { tcp, udp } th dport nfs accept comment "Accept NFS3"',
5
      # To support nftables >= 0.9.0, but < 0.9.3, `@th,16,16 2049` is used instead of `th dport nfs`
6
      content => 'meta l4proto { tcp, udp } @th,16,16 2049 accept comment "Accept NFS3"',
6 7
  }
7 8
}

Formats disponibles : Unified diff