update configure.rs

This commit is contained in:
Jett Chen 2024-05-18 23:17:47 +08:00
parent 4fe62c0a66
commit 2f0e41bb92

View file

@ -47,8 +47,7 @@ fn test_set_get_ipv6() {
let addr = Ipv6Addr::new(1, 1, 1, 1, 1, 1, 1, 1);
tun.set_ipv6_addr(addr)?;
let result = tun.ipv6_addr()?;
let result = tun.ipv6_addrs()?[0];
assert_eq!(addr, result);
}