diff --git a/holo-vrrp/Cargo.toml b/holo-vrrp/Cargo.toml index 9bcb6572..f0d429c3 100644 --- a/holo-vrrp/Cargo.toml +++ b/holo-vrrp/Cargo.toml @@ -36,9 +36,6 @@ holo-vrrp = { path = ".", features = ["testing"] } holo-protocol = { path = "../holo-protocol", features = ["testing"] } holo-utils = { path = "../holo-utils", features = ["testing"] } -[lints] -workspace = true - [features] default = [] testing = [] diff --git a/holo-vrrp/src/packet.rs b/holo-vrrp/src/packet.rs index b9cfb0d0..5d53dac4 100644 --- a/holo-vrrp/src/packet.rs +++ b/holo-vrrp/src/packet.rs @@ -121,7 +121,7 @@ impl ARPframe { hardware_type: arp_pkt.hw_type.to_be(), protocol_type: arp_pkt.proto_type.to_be(), hw_addr_len: arp_pkt.hw_length, - proto_addr_len: arp_pkt.hw_length, + proto_addr_len: arp_pkt.proto_length, opcode: arp_pkt.operation.to_be(), sender_hw_addr: arp_pkt.sender_hw_address,