We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd063df + 7200251 commit 42f485aCopy full SHA for 42f485a
src/iface/interface.rs
@@ -1788,6 +1788,22 @@ impl<'a> InterfaceInner<'a> {
1788
}
1789
1790
1791
+ #[cfg(feature = "socket-dns")]
1792
+ for dns_socket in sockets
1793
+ .items_mut()
1794
+ .filter_map(|i| dns::Socket::downcast_mut(&mut i.socket))
1795
+ {
1796
+ if dns_socket.accepts(&IpRepr::Ipv6(ipv6_repr), &udp_repr) {
1797
+ dns_socket.process(
1798
+ self,
1799
+ &IpRepr::Ipv6(ipv6_repr),
1800
+ &udp_repr,
1801
+ udp_packet.payload(),
1802
+ );
1803
+ return None;
1804
+ }
1805
1806
+
1807
// When we are here then then there was no UDP socket that accepted the UDP
1808
// message.
1809
let payload_len = icmp_reply_payload_len(
0 commit comments