We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d718da3 commit 6daee45Copy full SHA for 6daee45
src/rtr/pdu.rs
@@ -549,7 +549,7 @@ impl RouterKey {
549
// reserved byte (of zeroes). As the value of the Session field is in
550
// network byte order, we are actually looking at (Reserved, Flags),
551
// so we want the lower byte here.
552
- self.fixed.header.session as u8
+ (u16::from_be(self.fixed.header.session) >> 8) as u8
553
}
554
555
/// Returns the subject key identifier.
@@ -853,7 +853,7 @@ impl Aspa {
853
854
855
856
857
858
859
/// Returns the customer ASN.
0 commit comments