diff --git a/examples/dump_ipv4.rs b/examples/dump_ipv4.rs index 9c94d85..f18c010 100644 --- a/examples/dump_ipv4.rs +++ b/examples/dump_ipv4.rs @@ -56,13 +56,13 @@ fn main() { println!("<<< {rx_packet:?}"); match rx_packet.payload { - NetlinkPayload::Noop | NetlinkPayload::Ack(_) => {} + NetlinkPayload::Noop => {} NetlinkPayload::InnerMessage( SockDiagMessage::InetResponse(response), ) => { println!("{response:#?}"); } - NetlinkPayload::Done => { + NetlinkPayload::Done(_) => { println!("Done!"); return; }