diff --git a/services/dns/src/api.rs b/services/dns/src/api.rs index 11535cdfa..688d080b5 100644 --- a/services/dns/src/api.rs +++ b/services/dns/src/api.rs @@ -1,4 +1,5 @@ #[allow(dead_code)] +// note: this name cannot be changed, because it is baked into `libstd` pub(crate) const SERVER_NAME_DNS: &str = "_DNS Resolver Middleware_"; use net::NetIpAddr; use rkyv::{Archive, Deserialize, Serialize}; diff --git a/services/llio/src/api/rtc_api.rs b/services/llio/src/api/rtc_api.rs index a8f717727..fb6c3c7b2 100644 --- a/services/llio/src/api/rtc_api.rs +++ b/services/llio/src/api/rtc_api.rs @@ -29,7 +29,7 @@ pub struct DateTime { pub years: u8, pub weekday: Weekday, } - +// note: this name cannot be changed, because it is baked into `libstd` pub(crate) const SERVER_NAME_RTC: &str = "_Real time clock application server_"; #[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)] diff --git a/services/net/src/api.rs b/services/net/src/api.rs index 0c3ae6585..f964d1de1 100644 --- a/services/net/src/api.rs +++ b/services/net/src/api.rs @@ -22,6 +22,7 @@ use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr}; // republish this so we can decode the icmpv4 error codes pub use smoltcp::wire::Icmpv4DstUnreachable; +// note: this name cannot be changed, because it is baked into `libstd` pub(crate) const SERVER_NAME_NET: &str = "_Middleware Network Server_"; #[allow(dead_code)] pub const AP_DICT_NAME: &'static str = "wlan.networks";