summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-24 19:53:33 +0000
committerbors <bors@rust-lang.org>2020-11-24 19:53:33 +0000
commit5598401c182fc0289bc0f386651944624cb15581 (patch)
treebe5a4482f17dac83f50592c5a4e564381a4d8717
parentf4bd085cb83792298f0eb15303c869b2701f881e (diff)
parent9578fa19428d051886aa464f8d67da6254da4137 (diff)
downloadrust-libc-5598401c182fc0289bc0f386651944624cb15581.tar.gz
Auto merge of #1972 - zonyitoo:master, r=JohnTitor
Add IPV6_BINDANY on FreeBSD https://github.com/freebsd/freebsd/blob/master/sys/netinet6/in6.h#L493
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs
index e65c048d6c..6a7cc49a50 100644
--- a/src/unix/bsd/freebsdlike/freebsd/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -984,6 +984,7 @@ pub const IP_RECVORIGDSTADDR: ::c_int = IP_ORIGDSTADDR;
pub const IP_RECVTOS: ::c_int = 68;
+pub const IPV6_BINDANY: ::c_int = 64;
pub const IPV6_ORIGDSTADDR: ::c_int = 72;
pub const IPV6_RECVORIGDSTADDR: ::c_int = IPV6_ORIGDSTADDR;