diff options
author | Matt Taggart <taggart@riseup.net> | 2017-01-31 10:45:00 -0800 |
---|---|---|
committer | Matt Taggart <taggart@riseup.net> | 2017-01-31 10:45:00 -0800 |
commit | ff6c12482b812cdc262dabcd1faebc63e466087f (patch) | |
tree | b82b60b4390763c7d805a37e40b67319641671c3 /manifests/mangle.pp | |
parent | 77ce0b926b7418703223b4a6c489067f9d9bc4f5 (diff) | |
parent | f560a426885f0982cae39495321222158a69e895 (diff) |
Merge remote-tracking branch 'shared/master' into merge
Conflicts:
manifests/base.pp
Diffstat (limited to 'manifests/mangle.pp')
-rw-r--r-- | manifests/mangle.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/mangle.pp b/manifests/mangle.pp index e3fd1b3..cd404e7 100644 --- a/manifests/mangle.pp +++ b/manifests/mangle.pp @@ -1,6 +1,7 @@ define shorewall::mangle( $source, $destination, + $action = $name, $proto = '-', $destinationport = '-', $sourceport = '-', @@ -14,6 +15,6 @@ define shorewall::mangle( $order = '100' ){ shorewall::entry{"mangle-${order}-${name}": - line => "${name} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${user} ${test} ${length} ${tos} ${connbytes} ${helper} ${headers}" + line => "${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${user} ${test} ${length} ${tos} ${connbytes} ${helper} ${headers}" } } |