We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28da3eb commit 93d4617Copy full SHA for 93d4617
src/mdns.rs
@@ -33,7 +33,7 @@ pub async fn discover_devices(time: f64) -> Result<Vec<DeviceInfo>> {
33
let mut ip = None;
34
for addr in record.get_addresses().iter() {
35
if let IpAddr::V4(addr) = addr {
36
- if addr.is_private() {
+ if addr.is_private() && addr.octets() != [10, 20, 17, 1] {
37
ip = Some(addr.to_string());
38
break;
39
}
0 commit comments