Skip to content

Commit 60064cb

Browse files
committed
Auto merge of #706 - cactorium:master, r=alexcrichton
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP to uclibc Hello! Just some minor fixes so that net2 compiles correctly on uclibc
2 parents 560e73f + db54ada commit 60064cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/uclibc/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,9 @@ pub const IP_HDRINCL: ::c_int = 3;
732732
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
733733
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
734734

735+
pub const IPV6_JOIN_GROUP: ::c_int = 20;
736+
pub const IPV6_LEAVE_GROUP: ::c_int = 21;
737+
735738
pub const TCP_NODELAY: ::c_int = 1;
736739
pub const TCP_MAXSEG: ::c_int = 2;
737740
pub const TCP_CORK: ::c_int = 3;

0 commit comments

Comments
 (0)