Révision 42e7f3ea
Relax type validation in template
It comes already validated from the calling class.
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