Skip to content

Commit ba5bfc6

Browse files
committed
Fix BSD IP_TOS value
1 parent 94e30df commit ba5bfc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/unix/bsd/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,11 @@ pub const SIG_SETMASK: ::c_int = 3;
179179
pub const SIG_BLOCK: ::c_int = 0x1;
180180
pub const SIG_UNBLOCK: ::c_int = 0x2;
181181

182+
pub const IP_TOS: ::c_int = 3;
182183
pub const IP_MULTICAST_IF: ::c_int = 9;
183184
pub const IP_MULTICAST_TTL: ::c_int = 10;
184185
pub const IP_MULTICAST_LOOP: ::c_int = 11;
185186

186-
pub const IP_TOS: ::c_int = 1;
187-
188187
pub const IPV6_UNICAST_HOPS: ::c_int = 4;
189188
pub const IPV6_MULTICAST_IF: ::c_int = 9;
190189
pub const IPV6_MULTICAST_HOPS: ::c_int = 10;

0 commit comments

Comments
 (0)