We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d468f5 + 5008e8a commit 722838bCopy full SHA for 722838b
examples/network-test/pkg-replay-record.py
@@ -12,9 +12,9 @@
12
from labgrid.logging import basicConfig, StepLogger
13
14
def generate_frame():
15
- frame = [Ether(dst="11:22:33:44:55:66", src="66:55:44:33:22:11", type=0x9000)]
+ frame = Ether(dst="11:22:33:44:55:66", src="66:55:44:33:22:11", type=0x9000)
16
padding = "\x00" * (conf.min_pkt_size - len(frame))
17
- frame = frame[0] / Raw(load=padding)
+ frame /= Raw(load=padding)
18
return frame
19
20
0 commit comments