Explorar o código

added opcode and flag enums to dns export

Will McLeish %!s(int64=2) %!d(string=hai) anos
pai
achega
27c6f611bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.
 ///