File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ansible/roles/test/files/ptftests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 )))
You can’t perform that action at this time.
0 commit comments