Skip to content

Commit

Permalink
typeenum leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
density215 committed Jul 11, 2023
1 parent 21fcdae commit a782af6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/bmp/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,16 @@ typeenum!(
/// Types of BMP messages as defined in
/// [RFC7854](https://datatracker.ietf.org/doc/html/rfc7854).
MessageType, u8,
0 => RouteMonitoring,
1 => StatisticsReport,
2 => PeerDownNotification,
3 => PeerUpNotification,
4 => InitiationMessage,
5 => TerminationMessage,
6 => RouteMirroring,
);
{
0 => RouteMonitoring,
1 => StatisticsReport,
2 => PeerDownNotification,
3 => PeerUpNotification,
4 => InitiationMessage,
5 => TerminationMessage,
6 => RouteMirroring,
}
);


impl<Octets: AsRef<[u8]>> AsRef<[u8]> for InitiationMessage<Octets> {
Expand Down

0 comments on commit a782af6

Please sign in to comment.