Skip to content

Commit

Permalink
Fix compilation of Ipv6+Multicast without Ethernet
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominaezzz authored Mar 2, 2025
1 parent 2e9a30a commit 1d1082d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iface/interface/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl Interface {
InterfaceInner::flush_neighbor_cache(&mut self.inner);
InterfaceInner::check_ip_addrs(&self.inner.ip_addrs);

#[cfg(all(feature = "proto-ipv6", feature = "multicast"))]
#[cfg(all(feature = "proto-ipv6", feature = "multicast", feature = "medium-ethernet"))]
if self.inner.caps.medium == Medium::Ethernet {
self.update_solicited_node_groups();
}
Expand Down

0 comments on commit 1d1082d

Please sign in to comment.