|
|
|
@ -145,7 +145,7 @@ bool IPTRule::isForward() const {
|
|
|
|
|
m_target == "RETURN" || m_target == "REJECT" ||
|
|
|
|
|
m_target == "MIRROR" || m_target == "SNAT" ||
|
|
|
|
|
m_target == "DNAT" || m_target == "REDIRECT" ||
|
|
|
|
|
m_target == "MASTQUERADE" || m_target == "MARK" ||
|
|
|
|
|
m_target == "MASQUERADE" || m_target == "MARK" ||
|
|
|
|
|
m_target == "TOS" ) {
|
|
|
|
|
return true;
|
|
|
|
|
} else {
|
|
|
|
@ -178,7 +178,7 @@ TQStringList IPTRule::availableTargets() const {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( table == Constants::NatTable_Name && name == Constants::PostRoutingChain_Name )
|
|
|
|
|
targets << "MASTQUERADE";
|
|
|
|
|
targets << "MASQUERADE";
|
|
|
|
|
|
|
|
|
|
if ( table == Constants::MangleTable_Name ) {
|
|
|
|
|
targets << "MARK" << "TOS";
|
|
|
|
|