summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vrrpv2.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs
index 14c4146..a039ced 100644
--- a/src/vrrpv2.rs
+++ b/src/vrrpv2.rs
@@ -5,6 +5,7 @@ use std::net::Ipv4Addr;
///
/// Packet format
///
+/// ```
/// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/// |Version| Type | Virtual Rtr ID| Priority | Count IP Addrs|
@@ -23,6 +24,7 @@ use std::net::Ipv4Addr;
/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/// | Authentication Data (2) |
/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+/// ```
#[derive(Debug, PartialEq)]
pub struct VRRPv2 {
pub virtual_router_id: u8,