Skip to content

Commit 92f5db1

Browse files
calebbourgjhodapp
andauthored
Update cross/dns/src/main.rs
Co-authored-by: Jim Hodapp <james.hodapp@gmail.com>
1 parent be2248c commit 92f5db1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cross/dns/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ fn main() -> ! {
124124
if byte == 3 {
125125
defmt::info!("Connected to Network: {:?}", SSID);
126126

127-
// The IPAddress of our DNS server to resolve hostnames with
127+
// The IPAddresses of two DNS servers to resolve hostnames with.
128+
// Note that failover from ip1 to ip2 is fully functional.
128129
let ip1: IpAddress = [9, 9, 9, 9];
129130
let ip2: IpAddress = [8, 8, 8, 8];
130131
let dns_result = wifi.set_dns(ip1, Some(ip2));

0 commit comments

Comments
 (0)