Skip to content

Commit

Permalink
Merge pull request #3970 from semarie/openbsd-fmask
Browse files Browse the repository at this point in the history
unbreak OpenBSD after #3714 by properly define RTF_FMASK
  • Loading branch information
tgross35 authored Oct 16, 2024
2 parents fbeb860 + dbe4b8b commit c988312
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/unix/bsd/netbsdlike/openbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,15 @@ pub const RTF_LOCAL: ::c_int = 0x200000;
pub const RTF_BROADCAST: ::c_int = 0x400000;
pub const RTF_CONNECTED: ::c_int = 0x800000;
pub const RTF_BFD: ::c_int = 0x1000000;
pub const RTF_FMASK: ::c_int = b'\\' as _;
pub const RTF_FMASK: ::c_int = ::RTF_LLINFO
| ::RTF_PROTO1
| ::RTF_PROTO2
| ::RTF_PROTO3
| ::RTF_BLACKHOLE
| ::RTF_REJECT
| ::RTF_STATIC
| ::RTF_MPLS
| ::RTF_BFD;

pub const RTM_VERSION: ::c_int = 5;
pub const RTM_RESOLVE: ::c_int = 0xb;
Expand Down

0 comments on commit c988312

Please sign in to comment.