Skip to content

Commit 99ac7e1

Browse files
committed
Fix indentation in line break causing PR test failures
1 parent 40c7df3 commit 99ac7e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/roles/test/files/ptftests/advanced-reboot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,8 +1559,8 @@ def no_flood(self, packet):
15591559
"""
15601560
This method filters packets which are unique (i.e. no floods).
15611561
"""
1562-
if (not int(str(packet[scapyall.TCP].payload)) in self.unique_id) and
1563-
(packet[scapyall.Ether].src == self.dut_mac or packet[scapyall.Ether].src == self.vlan_mac):
1562+
if (not int(str(packet[scapyall.TCP].payload)) in self.unique_id) and \
1563+
(packet[scapyall.Ether].src == self.dut_mac or packet[scapyall.Ether].src == self.vlan_mac):
15641564
# This is a unique (no flooded) received packet.
15651565
# for dualtor, t1->server rcvd pkt will have src MAC as vlan_mac, and server->t1 rcvd pkt will have src MAC as dut_mac
15661566
self.unique_id.append(int(str(packet[scapyall.TCP].payload)))

0 commit comments

Comments
 (0)