Skip to content

Commit

Permalink
Correct example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Feb 5, 2024
1 parent 46eab31 commit e992c04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ match SlicedPacket::from_ethernet(&packet) {
Ok(value) => {
println!("link: {:?}", value.link);
println!("vlan: {:?}", value.vlan);
println!("ip: {:?}", value.ip);
println!("net: {:?}", value.net); // contains ip
println!("transport: {:?}", value.transport);
}
}
Expand All @@ -74,7 +74,7 @@ match PacketHeaders::from_ethernet_slice(&packet) {
Ok(value) => {
println!("link: {:?}", value.link);
println!("vlan: {:?}", value.vlan);
println!("ip: {:?}", value.ip);
println!("net: {:?}", value.net); // contains ip
println!("transport: {:?}", value.transport);
}
}
Expand Down
2 changes: 1 addition & 1 deletion etherparse_proptest_generators/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "etherparse_proptest_generators"
version = "0.14.0"
version = "0.14.1"
authors = ["Julian Schmid <[email protected]>"]
edition = "2021"
repository = "https://github.com/JulianSchmid/etherparse"
Expand Down

0 comments on commit e992c04

Please sign in to comment.