diff --git a/src/bgp/path_attributes.rs b/src/bgp/path_attributes.rs index 13d944e..8d3ad41 100644 --- a/src/bgp/path_attributes.rs +++ b/src/bgp/path_attributes.rs @@ -1893,6 +1893,14 @@ impl AsPathLimitInfo { pub fn new(upper_bound: u8, attacher: Asn) -> AsPathLimitInfo { AsPathLimitInfo { upper_bound, attacher } } + + pub fn upper_bound(&self) -> u8 { + self.upper_bound + } + + pub fn attacher(&self) -> Asn { + self.attacher + } } impl Attribute for AsPathLimitInfo {