Browse Source

Make public Ipv6RoutingType

Nicholas Cyprus 2 năm trước cách đây
mục cha
commit
6dca8068f9
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/wire/mod.rs

+ 3 - 1
src/wire/mod.rs

@@ -192,7 +192,9 @@ pub use self::ipv6hopbyhop::{Header as Ipv6HopByHopHeader, Repr as Ipv6HopByHopR
 pub use self::ipv6fragment::{Header as Ipv6FragmentHeader, Repr as Ipv6FragmentRepr};
 
 #[cfg(feature = "proto-ipv6")]
-pub use self::ipv6routing::{Header as Ipv6RoutingHeader, Repr as Ipv6RoutingRepr};
+pub use self::ipv6routing::{
+    Header as Ipv6RoutingHeader, Repr as Ipv6RoutingRepr, Type as Ipv6RoutingType,
+};
 
 #[cfg(feature = "proto-ipv4")]
 pub use self::icmpv4::{