aboutsummaryrefslogtreecommitdiff
path: root/src/sys/shell/udp.rs
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-01-05 21:36:04 -0800
committerHaibo Huang <hhb@google.com>2021-01-05 21:36:04 -0800
commit0cb7a8f3130da47c8cd0ff5c6a035aa1f2b9e676 (patch)
treea101b157e865fd1669dc9e122b0adddb7ce94978 /src/sys/shell/udp.rs
parent0fae4327dd02e0c99bff26c94ccacadb2ba83716 (diff)
downloadmio-0cb7a8f3130da47c8cd0ff5c6a035aa1f2b9e676.tar.gz
Upgrade rust/crates/mio to 0.7.7platform-tools-31.0.0
Test: make Change-Id: Ie71fb1d573d92b099ad5a5b84fc1b92303aaa849
Diffstat (limited to 'src/sys/shell/udp.rs')
-rw-r--r--src/sys/shell/udp.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/shell/udp.rs b/src/sys/shell/udp.rs
index 3ff1625..48ccac7 100644
--- a/src/sys/shell/udp.rs
+++ b/src/sys/shell/udp.rs
@@ -4,3 +4,7 @@ use std::net::{self, SocketAddr};
pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> {
os_required!()
}
+
+pub(crate) fn only_v6(_: &net::UdpSocket) -> io::Result<bool> {
+ os_required!()
+}