aboutsummaryrefslogtreecommitdiff
path: root/src/sys/shell/udp.rs
diff options
context:
space:
mode:
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!()
+}