Selaa lähdekoodia

wire: Reexport DnsRcode

Fixes #786
Dario Nieuwenhuis 1 vuosi sitten
vanhempi
commit
9cfd5cf7a6
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/wire/mod.rs

+ 2 - 2
src/wire/mod.rs

@@ -268,8 +268,8 @@ pub use self::dhcpv4::{
 
 #[cfg(feature = "proto-dns")]
 pub use self::dns::{
-    Flags as DnsFlags, Opcode as DnsOpcode, Packet as DnsPacket, Repr as DnsRepr,
-    Type as DnsQueryType,
+    Flags as DnsFlags, Opcode as DnsOpcode, Packet as DnsPacket, Rcode as DnsRcode,
+    Repr as DnsRepr, Type as DnsQueryType,
 };
 
 /// Parsing a packet failed.