Skip to content

Commit

Permalink
HACK: comment out conflicting NETLINK_GENERIC definition from if_mib.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ydirson committed Aug 18, 2023
1 parent f2adf2a commit 9afbd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3415,7 +3415,7 @@ pub const IFDATA_DRIVERNAME: ::c_int = 3;
pub const IFMIB_IFCOUNT: ::c_int = 1;

/// functions not specific to a type of iface
pub const NETLINK_GENERIC: ::c_int = 0;
//pub const NETLINK_GENERIC: ::c_int = 0;

pub const DOT3COMPLIANCE_STATS: ::c_int = 1;
pub const DOT3COMPLIANCE_COLLS: ::c_int = 2;
Expand Down

0 comments on commit 9afbd10

Please sign in to comment.