Skip to content

Commit b456810

Browse files
fixup
1 parent fc1a9c4 commit b456810

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

netwatch/src/interfaces/linux.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ pub enum Error {
3232
MissingMaskField {},
3333
#[cfg(not(target_os = "android"))]
3434
#[snafu(display("netlink"))]
35-
Netlink { source: NetlinkError },
36-
#[cfg(not(target_os = "android"))]
37-
#[snafu(display("unexpected netlink message"))]
38-
UnexpectedNetlinkMessage {
35+
Netlink {
3936
source: netlink_proto::Error<netlink_packet_route::RouteNetlinkMessage>,
4037
},
4138
#[cfg(not(target_os = "android"))]
39+
#[snafu(display("unexpected netlink message"))]
40+
UnexpectedNetlinkMessage {},
41+
#[cfg(not(target_os = "android"))]
4242
#[snafu(display("netlink error message: {source:?}"))]
4343
NetlinkErrorMessage {
4444
source: netlink_packet_core::error::ErrorMessage,

0 commit comments

Comments
 (0)