WHAT THE FUCKKKKKK

thats a real bug? thats crazy
This commit is contained in:
lda
2026-04-06 15:48:54 +07:00 Unverified
parent 170c49afa2
commit 9fcb191a8e
2 changed files with 30 additions and 3 deletions
+2 -2
View File
@@ -38,8 +38,6 @@ pub async fn get_with_handle(
nuds: &[NUDState],
macs: &[MacAddr],
) -> anyhow::Result<Vec<NeighborItem>> {
let mut neighbor_data = handle.neighbours().get().execute();
// Build filter sets (empty = match all)
let ip_set: HashSet<IpAddr> = ips.iter().copied().collect();
let dev_set: HashSet<&str> = devs.iter().map(AsRef::as_ref).collect();
@@ -52,6 +50,8 @@ pub async fn get_with_handle(
.into_iter()
.map(|link| (link.ifindex, link.ifname))
.collect();
let mut neighbor_data = handle.neighbours().get().execute();
let mut result = vec![];
'row: while let Some(msg) = neighbor_data.try_next().await? {