summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vrrpv2.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs
index df9d523..c830899 100644
--- a/src/vrrpv2.rs
+++ b/src/vrrpv2.rs
@@ -117,8 +117,7 @@ impl VRRPv2 {
for ip in self.ip_addrs.iter() {
wr.write_all(&ip.to_bits().to_be_bytes())?;
}
- wr.write_all([0; 4].as_ref())?; // Authentication Data 1
- wr.write_all([0; 4].as_ref())?; // Authentication Data 2
+ wr.write_all([0; 8].as_ref())?; // Authentication Data
Ok(wr.into_inner())
}
}