tests: iptables-save-cuts-space-before-j: Fix for CentOS
Newer CentOS behave just like newer RHEL. Related: RHEL-14147
This commit is contained in:
parent
26c9e1e407
commit
66c02f9077
@ -38,7 +38,7 @@ rlJournalStart
|
|||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
RULE="-A INPUT -p dccp -m dccp --dccp-type RESET,INVALID -j LOG"
|
RULE="-A INPUT -p dccp -m dccp --dccp-type RESET,INVALID -j LOG"
|
||||||
if rlIsRHEL '>6' || rlIsFedora; then
|
if rlIsRHEL '>6' || rlIsFedora || rlIsCentOS '>7'; then
|
||||||
RULE="${RULE/type/types}" # it is exported under other name
|
RULE="${RULE/type/types}" # it is exported under other name
|
||||||
fi
|
fi
|
||||||
rlLogInfo "using rule '$RULE'"
|
rlLogInfo "using rule '$RULE'"
|
||||||
|
Loading…
Reference in New Issue
Block a user