Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xmh0511 committed Sep 10, 2024
1 parent f0c5c55 commit 24fe879
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ fn main_entry(quit: Receiver<()>) -> Result<(), BoxError> {
Ok::<(), BoxError>(())
});
//dev_t.set_network_address((10, 0, 0, 88), (255, 255, 255, 0), None)?;
dev_t.set_network_address(
"CDCD:910A:2222:5498:8475:1111:3900:2024"
.parse::<IpAddr>()
.unwrap(),
"ffff:ffff:ffff:ffff::".parse::<IpAddr>().unwrap(),
None,
)?;
// dev_t.set_network_address(
// "CDCD:910A:2222:5498:8475:1111:3900:2024"
// .parse::<IpAddr>()
// .unwrap(),
// "ffff:ffff:ffff:ffff::".parse::<IpAddr>().unwrap(),
// None,
// )?;
quit.recv().expect("Quit error.");
println!("recv quit!!!!!");
println!("{:?}", dev_t.address()?);
Expand Down

0 comments on commit 24fe879

Please sign in to comment.