This commit is contained in:
Alexey
2026-07-06 20:12:36 +03:00
parent a1ebd44cee
commit b8be805aed
8 changed files with 41 additions and 32 deletions
+4 -1
View File
@@ -319,7 +319,10 @@ mod tests {
targets.iptables_v4[0].ip,
Some(IpAddr::V4(Ipv4Addr::new(203, 0, 113, 1)))
);
assert_eq!(targets.iptables_v6[0].ip, Some(IpAddr::V6(Ipv6Addr::LOCALHOST)));
assert_eq!(
targets.iptables_v6[0].ip,
Some(IpAddr::V6(Ipv6Addr::LOCALHOST))
);
assert_eq!(
targets.nft_v4[0].ip,
Some(IpAddr::V4(Ipv4Addr::new(203, 0, 113, 2)))