File: ihl-bench-fix.patch

package info (click to toggle)
rust-sniffglue 0.15.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 632 kB
  • sloc: sh: 100; makefile: 16
file content (13 lines) | stat: -rw-r--r-- 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: sniffglue/benches/bench.rs
===================================================================
--- sniffglue.orig/benches/bench.rs
+++ sniffglue/benches/bench.rs
@@ -63,7 +63,7 @@ mod tests {
             },
             IPv4(IPv4Header {
                 version: 4,
-                ihl: 20,
+                ihl: 5,
                 tos: 0,
                 length: 442,
                 id: 20073,