Skip to content

Commit

Permalink
[TEST]: Improvement: Minor fix: Collecting default rules(s42:isl)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuliia Miroshnychenko committed Dec 23, 2024
1 parent a148a07 commit 6ef075f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ class SwitchHelper {
multiTableRules.add(new PortColourCookie(CookieType.PING_INPUT, it.source.portNo).getValue())
}

if ((toggles.server42IslRtt && doesSwSupportS42(swProps) &&
swProps.server42IslRtt in ["ENABLED", "AUTO"] && !sw.features.contains(SwitchFeature.NOVIFLOW_COPY_FIELD))) {
if (toggles.server42IslRtt && doesSwSupportS42(swProps) && (swProps.server42IslRtt == "ENABLED" ||
swProps.server42IslRtt == "AUTO" && !sw.features.contains(SwitchFeature.NOVIFLOW_COPY_FIELD))) {
devicesRules.add(SERVER_42_ISL_RTT_TURNING_COOKIE)
devicesRules.add(SERVER_42_ISL_RTT_OUTPUT_COOKIE)
relatedLinks.each {
Expand Down

0 comments on commit 6ef075f

Please sign in to comment.