You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got bitten by this, and changed the code so that the parse goes through: rslt_matcher = re.compile(r'(\d+) packets transmitted, (\d+) (?:packets )?received, (?:\+\d+ errors, )?(\d+\.?\d*)% packet loss')
The error count is discarded, which might not be what one wants.
Having an error (in this case a filtered packet) causes pingparser to raise an exception. This may be a known issue or a feature. See code below
The text was updated successfully, but these errors were encountered: