WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@marcin-usielski
Copy link
Collaborator

No description provided.

@marcin-usielski marcin-usielski added this to the v4.3.1 milestone Oct 15, 2025
@marcin-usielski marcin-usielski marked this pull request as draft October 15, 2025 10:03
# 4 packets transmitted, 3 received, +1 errors, 25% packet loss, time 3008ms
_re_trans_recv_loss_time_plus_errors = re.compile(
r"(?P<PKTS_TRANS>\d+) packets transmitted, (?P<PKTS_RECV>\d+) received, \+?(?P<ERRORS>\d+) errors, (?P<PKT_LOSS>\S+)% packet loss, time (?P<TIME>\d+)\s*(?P<UNIT>\w+)")
r"(?P<PKTS_TRANS>\d+) packets transmitted, (?P<PKTS_RECV>\d+) received, \+?(?P<ERRORS>\d+) (?P<ERR_DUP>errors|duplicates), (?P<PKT_LOSS>\S+)% packet loss, time (?P<TIME>\d+)\s*(?P<UNIT>\w+)")
Copy link
Collaborator

@tkrol88 tkrol88 Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe (?P<ERR_DUP_VAL>\d+) instead of (?P<ERRORS>\d+)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@marcin-usielski marcin-usielski marked this pull request as ready for review October 15, 2025 11:54
@tkrol88 tkrol88 merged commit 234912e into main Oct 15, 2025
12 checks passed
@tkrol88 tkrol88 deleted the ping_duplicates branch October 15, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants