Page MenuHomeFreeBSD

D42268.id128939.diff
No OneTemporary

D42268.id128939.diff

diff --git a/sbin/ping/tests/test_ping.py b/sbin/ping/tests/test_ping.py
--- a/sbin/ping/tests/test_ping.py
+++ b/sbin/ping/tests/test_ping.py
@@ -51,7 +51,7 @@
# Build a package with a timestamp of INT_MAX
# (time-warped package)
payload_no_timestamp = sc.bytes_hex(load)[16:]
- load = (b"\xff" * 8) + sc.hex_bytes(payload_no_timestamp)
+ load = b"\x7f" + (b"\xff" * 7) + sc.hex_bytes(payload_no_timestamp)
if special == "wrong":
# Build a package with a wrong last byte
payload_no_last_byte = sc.bytes_hex(load)[:-2]

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 1, 8:37 PM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30653804
Default Alt Text
D42268.id128939.diff (584 B)

Event Timeline