Quellcode durchsuchen

added opcode and flag enums to dns export

Will McLeish vor 2 Jahren
Ursprung
Commit
27c6f611bb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/wire/mod.rs

+ 1 - 1
src/wire/mod.rs

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