Skip to content

net: Improve parsing of /proc/net/snmp#313

Merged
eminence merged 1 commit intoeminence:masterfrom
haaspors:icmpmsg-fix
Jul 24, 2024
Merged

net: Improve parsing of /proc/net/snmp#313
eminence merged 1 commit intoeminence:masterfrom
haaspors:icmpmsg-fix

Conversation

@haaspors
Copy link
Contributor

  • Ignore IcmpMsg if it is not there
  • Match fields from header properly

Fixes #310

* Ignore IcmpMsg if it is not there
* Match fields from header properly

Fixes eminence#310
@eminence
Copy link
Owner

Only had time for a quick skim, but looks good to me. Thank you!

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.

panic in Snmp::from_buf_read due to missing IcmpMsg line

2 participants