commit | 338b003bcc22a62c98b84dbe5e491cae84dbb03c | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Wed Mar 02 12:20:31 2016 +0100 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Sun Mar 06 12:53:11 2016 -0800 |
tree | f3baf2ff4649ba2c65923f0c95e9b1e2fde2f24b | |
parent | f440e9d8c2f6f0eb2e9fccd8f4d7c42c11ba4979 [diff] |
tc: pedit: Fix retain value for ihl adjustments Since the IP Header Length field is just half a byte, adjust retain to only match these bits so the Version field is not overwritten by accident. The whole concept is actually broken due to dependency on endianness which pedit ignores. Signed-off-by: Phil Sutter <phil@nwl.cc>