Projet

Général

Profil

Révision 42e7f3ea

ID42e7f3eaa06a08238ec0a1ab781f16bc17adc698
Parent 55277023
Enfant 4d63adda

Ajouté par Nacho Barrientos il y a plus de 4 ans

Relax type validation in template

It comes already validated from the calling class.

Voir les différences:

templates/simplerule.epp
5 5
      Optional[Nftables::Port] $dport,
6 6
      Optional[String]         $proto,
7 7
      Optional[Nftables::Addr] $saddr,
8
      Enum['ip', 'ip6']        $set_type,
8
      String                   $set_type,
9 9
      Optional[Nftables::Port] $sport,
10 10
| -%>
11 11
<%- if $proto {

Formats disponibles : Unified diff