Commit f5b6d26e authored by mh's avatar mh
Browse files

default proto

parent ba917871
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
define firewall::rule ( define firewall::rule (
Nftables::SimpleRuleName $rule_name = $title, Nftables::SimpleRuleName $rule_name = $title,
Nftables::Port $port, Nftables::Port $port,
Enum['tcp','udp'] $proto, Enum['tcp','udp'] $proto = 'tcp',
) { ) {
include firewall include firewall
if $firewall::use_nftables { if $firewall::use_nftables {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment