updated note

This commit is contained in:
Ishan Jain 2023-07-28 05:01:53 +05:30
parent 4f87d80227
commit 76b44eb9bf
Signed by: ishan
GPG Key ID: 0506DB2A1CC75C27

View File

@ -90,6 +90,10 @@ impl<'a> Processor<'a> {
.into_iter() .into_iter()
.filter_map(|dst_if| interfaces.iter().find(|x| x.name == dst_if)); .filter_map(|dst_if| interfaces.iter().find(|x| x.name == dst_if));
// TODO(ishan): Stop blasting this every where.
// Try to limit answers traffic between destinations
// it should not be broadcasting an answer to all networks just because 1
// asked for it
for dst_if in dst_ifs { for dst_if in dst_ifs {
let dst_ifid = ifname_to_ifidx(dst_if.name.to_string()); let dst_ifid = ifname_to_ifidx(dst_if.name.to_string());