summaryrefslogtreecommitdiff
path: root/manifests/interface.pp
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2017-02-10 13:24:59 -0800
committerMatt Taggart <taggart@riseup.net>2017-02-10 13:24:59 -0800
commit47f1ee74666fa00314546d01982461fa79d9da0a (patch)
tree2ddadcf8281b657b3b4abfd334934879c958674d /manifests/interface.pp
parent8552753d9e3ab7662e618c54875e626a2b6926e9 (diff)
remove deprecated norfc1918 option
It was deprecated in 4.2.0 http://www.shorewall.net/upgrade_issues.htm
Diffstat (limited to 'manifests/interface.pp')
-rw-r--r--manifests/interface.pp8
1 files changed, 1 insertions, 7 deletions
diff --git a/manifests/interface.pp b/manifests/interface.pp
index b3d66c6..670e477 100644
--- a/manifests/interface.pp
+++ b/manifests/interface.pp
@@ -3,7 +3,6 @@ define shorewall::interface(
$broadcast = 'detect',
$options = 'tcpflags,routefilter,nosmurfs,logmartians',
$add_options = '',
- $rfc1918 = false,
$dhcp = false,
$order = 100
){
@@ -17,13 +16,8 @@ define shorewall::interface(
default => ',dhcp',
}
- $rfc1918_opt = $rfc1918 ? {
- false => ',norfc1918',
- default => '',
- }
-
shorewall::entry { "interfaces-${order}-${name}":
- line => "${zone} ${name} ${broadcast} ${options}${dhcp_opt}${rfc1918_opt}${added_opts}",
+ line => "${zone} ${name} ${broadcast} ${options}${dhcp_opt}${added_opts}",
}
}