Эх сурвалжийг харах

Merge #691

691: Make Public Ipv6RoutingType r=Dirbaio a=ngc0202

Of the four `Type` enums, for some reason the one from `ipv6routing` was missing. This pull request makes it public under the name `Ipv6RoutingType`

Co-authored-by: Nicholas Cyprus <ncyprus@lgsinnovations.com>
bors[bot] 2 жил өмнө
parent
commit
26b2eae082
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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::{