summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vrrpv2.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs
index a6321ea..0968c7c 100644
--- a/src/vrrpv2.rs
+++ b/src/vrrpv2.rs
@@ -175,8 +175,9 @@ fn parse(bytes: &[u8]) -> Result<VRRPv2, VRRPv2Error> {
/// use std::net::Ipv4Addr;
///
/// let bytes = [
-/// 0x21, 0x01, 0x64, 0x01, 0x00, 0x01, 0xba, 0x52, 0xc0, 0xa8, 0x00, 0x01, 0x00, 0x00,
+/// 0x21, 0x01, 0x64, 0x01, 0x00, 0x01, 0xba, 0x52, 0xc0, 0xa8, 0x00, 0x01,
/// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+/// 0x00, 0x00,
/// ];
/// let expected = VRRPv2 {
/// virtual_router_id: 1,