Skip to content

Commit

Permalink
Auto merge of #21267 - danslapman:master, r=alexcrichton
Browse files Browse the repository at this point in the history
This patch fixes IP_ADD_MEMBERSHIP problem described here: #20381

I've tested on my ProbeR project, everything seems ok.
  • Loading branch information
bors committed Jan 19, 2015
2 parents dcaeb6a + 89de692 commit bd8a43c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/liblibc/lib.rs
Expand Up @@ -2207,10 +2207,10 @@ pub mod consts {
pub const IPPROTO_TCP: c_int = 6;
pub const IPPROTO_IP: c_int = 0;
pub const IPPROTO_IPV6: c_int = 41;
pub const IP_MULTICAST_TTL: c_int = 3;
pub const IP_MULTICAST_LOOP: c_int = 4;
pub const IP_ADD_MEMBERSHIP: c_int = 5;
pub const IP_DROP_MEMBERSHIP: c_int = 6;
pub const IP_MULTICAST_TTL: c_int = 10;
pub const IP_MULTICAST_LOOP: c_int = 11;
pub const IP_ADD_MEMBERSHIP: c_int = 12;
pub const IP_DROP_MEMBERSHIP: c_int = 13;
pub const IPV6_ADD_MEMBERSHIP: c_int = 5;
pub const IPV6_DROP_MEMBERSHIP: c_int = 6;
pub const IP_TTL: c_int = 4;
Expand Down

0 comments on commit bd8a43c

Please sign in to comment.