feat(pcap): add operating system kernel name and release

Display the uname sysname and release as the OS option in the pcap Section
Header Block, falling back on just the std::env::consts::OS name ("linux") in
the case of runtime errors.

Co-authored-by: Nat Budin <natbudin@gmail.com>
This commit is contained in:
oopsbagel
2025-03-16 20:54:14 -07:00
committed by Will Greenberg
parent 5ae186bc73
commit 09d35ccec7
3 changed files with 15 additions and 3 deletions
Generated
+1
View File
@@ -1694,6 +1694,7 @@ dependencies = [
"futures-core",
"libc",
"log",
"nix",
"pcap-file-tokio",
"serde",
"telcom-parser",