tests: Fix spurious failure on CentOS Stream 8
This commit is contained in:
parent
4109868d74
commit
7a0d648eb5
@ -40,9 +40,9 @@ rlJournalStart
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
RULE="-A INPUT -p dccp -m dccp --dccp-type RESET,INVALID -j LOG"
|
||||
if rlIsRHEL '>6' || rlIsFedora; then
|
||||
RULE="${RULE/type/types}" # it is exported under other name
|
||||
RULE="-A INPUT -p dccp -m dccp --dccp-types RESET,INVALID -j LOG"
|
||||
if rlIsRHEL '<7'; then
|
||||
RULE="${RULE/types/type}" # it is exported under other name
|
||||
fi
|
||||
rlLogInfo "using rule '$RULE'"
|
||||
rlRun "iptables $RULE" 0 "add rule for ipv4"
|
||||
|
Loading…
Reference in New Issue
Block a user