diff --git a/src/bgp/communities.rs b/src/bgp/communities.rs index 17a13799..8a206c03 100644 --- a/src/bgp/communities.rs +++ b/src/bgp/communities.rs @@ -26,7 +26,7 @@ //! and [`to_wellknown()`](`Community::to_wellknown()`). //! //! ``` -//! use routecore::asn::Asn; +//! use inetnum::asn::Asn; //! use routecore::bgp::communities::Community; //! use std::str::FromStr; //! diff --git a/src/bgp/message/open.rs b/src/bgp/message/open.rs index 00ccadac..1e6e5ab4 100644 --- a/src/bgp/message/open.rs +++ b/src/bgp/message/open.rs @@ -30,7 +30,7 @@ pub struct OpenMessage { /// /// * [`my_asn()`][`OpenMessage::my_asn`]: returns the 32bit ASN if present, /// otherwise falls back to the conventional 16bit ASN (though represented as -/// the 32bit [`routecore::asn::Asn`][`Asn`]); +/// the 32bit [`inetnum::asn::Asn`][`Asn`]); /// * [`multiprotocol_ids()`][`OpenMessage::multiprotocol_ids`]: returns an /// iterator over all the AFI/SAFI combinations listed as Capability in the /// Optional Parameters. If this yields an empty iterator, one can assume the