Skip to content

Commit 99acac5

Browse files
committed
constraint: prefix should encode for the length of the following buffer
Signed-off-by: Arthur Gautier <arthur.gautier@arista.com>
1 parent e1bd974 commit 99acac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto/extension/constraint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ mod tests {
290290

291291
#[rustfmt::skip]
292292
let mut buffer: &[u8] = const_str::concat_bytes!(
293-
[0, 0, 0, 114], //
293+
[0, 0, 0, 110], //
294294
[0, 0, 0, 12], //from:
295295
[0, 0, 0, 0], //username
296296
[0, 0, 0, 0], //hostname

0 commit comments

Comments
 (0)