Skip to content

Commit 0b6779a

Browse files
committed
Auto merge of #2801 - devnexen:macos_ipv6_bound_if, r=JohnTitor
apple adding `IPV6_BOUND_IF` socket constant. closes #2793
2 parents 187091b + bca896b commit 0b6779a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ IPTOS_ECN_ECT0
525525
IPTOS_ECN_ECT1
526526
IPTOS_ECN_MASK
527527
IPTOS_ECN_NOTECT
528+
IPV6_BOUND_IF
528529
IPV6_CHECKSUM
529530
IPV6_HOPLIMIT
530531
IPV6_JOIN_GROUP

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3561,6 +3561,7 @@ pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
35613561
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
35623562
pub const IP_BLOCK_SOURCE: ::c_int = 72;
35633563
pub const IP_UNBLOCK_SOURCE: ::c_int = 73;
3564+
pub const IPV6_BOUND_IF: ::c_int = 125;
35643565

35653566
pub const TCP_NOPUSH: ::c_int = 4;
35663567
pub const TCP_NOOPT: ::c_int = 8;

0 commit comments

Comments
 (0)