Allow SAVE and RESTORE in the postrouting chain

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-02-16 09:50:43 -08:00
parent 69fe94ef08
commit 0e40a42729

View File

@ -557,7 +557,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$ ) {
RESTORE => {
defaultchain => 0,
allowedchains => PREROUTING | FORWARD,
allowedchains => PREROUTING | FORWARD | POSTROUTING,
minparams => 0,
maxparams => 1,
function => sub () {
@ -585,7 +585,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$ ) {
SAVE => {
defaultchain => 0,
allowedchains => PREROUTING | FORWARD,
allowedchains => PREROUTING | FORWARD | POSTROUTING,
minparams => 0,
maxparams => 1,
function => sub () {