mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
Convert endian of serial in SerialNotify RTR PDU. (#60)
Thanks to Massimiliano Stucchi.
This commit is contained in:
@ -8,8 +8,13 @@ New
|
||||
|
||||
Bug Fixes
|
||||
|
||||
* Converts the endianess of the serial number in the SerialNotify RTR PDU.
|
||||
Reported by Massimiliano Stucchi. [(#60)]
|
||||
|
||||
Dependencies
|
||||
|
||||
[(#60)]: https://github.com/NLnetLabs/routinator/pull/60
|
||||
|
||||
|
||||
## 0.2.1 ‘Rated R’
|
||||
|
||||
|
@ -77,7 +77,7 @@ impl SerialNotify {
|
||||
pub fn new(version: u8, session: u16, serial: u32) -> Self {
|
||||
SerialNotify {
|
||||
header: Header::new(version, Self::PDU, session, Self::LEN),
|
||||
serial
|
||||
serial: serial.to_be(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user