diff options
author | Matt Taggart <taggart@riseup.net> | 2017-02-10 13:24:59 -0800 |
---|---|---|
committer | Matt Taggart <taggart@riseup.net> | 2017-02-10 13:24:59 -0800 |
commit | 47f1ee74666fa00314546d01982461fa79d9da0a (patch) | |
tree | 2ddadcf8281b657b3b4abfd334934879c958674d /manifests | |
parent | 8552753d9e3ab7662e618c54875e626a2b6926e9 (diff) |
remove deprecated norfc1918 option
It was deprecated in 4.2.0
http://www.shorewall.net/upgrade_issues.htm
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 2 | ||||
-rw-r--r-- | manifests/interface.pp | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 370be03..fe12247 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -1,6 +1,6 @@ define shorewall::host( $zone, - $options = 'tcpflags,norfc1918', + $options = 'tcpflags', $order='100' ){ shorewall::entry{"hosts-${order}-${name}": 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}", } } |