diff options
author | Jonas Falkevik <jonas.falkevik@gmail.com> | 2021-11-02 16:04:46 +0100 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2023-01-04 09:40:03 +0000 |
commit | 3e2c04fe7839ec920efd3da309013b89a16cff60 (patch) | |
tree | 49fcfa38cec250345b5c17f4721ca08990176ab1 /doc | |
parent | 8f747e41c97022e4281d56d42798c0c848bca916 (diff) |
editcap: flag to set unused bytes in SLL headers
Unused bytes in SLL Link Layer address can be random bytes.
Which makes the duplicate check think the packets are different.
Even if the unused bytes was the only difference.
This flag enables editcap to set the unused bytes to zeros to enable
the duplicate check to detect duplicates.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/editcap.adoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/editcap.adoc b/doc/editcap.adoc index 2dc96585ba..120c1c4082 100644 --- a/doc/editcap.adoc +++ b/doc/editcap.adoc @@ -45,6 +45,7 @@ __outfile__ [ *-V* ] [ *-I* <bytes to ignore> ] [ *--skip-radiotap-header* ] +[ *--set-unused* ] __infile__ __outfile__ @@ -464,6 +465,14 @@ file. Does not discard comments added by *--capture-comment* in the same command line. -- +--set-unused:: ++ +-- +Set the unused bytes (if any) to zero in SLL link type. Useful when when checking for duplicates. +As the unused bytes can be anything. When the packet traverses the device stack +for bonded interfaces on Linux for example. +-- + include::diagnostic-options.adoc[] == EXAMPLES |