diff options
author | 2016-12-22 17:20:28 +0200 | |
---|---|---|
committer | 2016-12-22 17:20:28 +0200 | |
commit | 7b8e05fc8996827a99d5da74b30138a15c89a96e (patch) | |
tree | a6505331d66cca872e568545911b29db7a4fbb35 /src | |
parent | ee1eb4de057d5e1752fc588ba4a2d873bae6d064 (diff) |
Small fix to previous commit
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/bp_sim.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bp_sim.cpp b/src/bp_sim.cpp index 5b3c1bb1..0725a437 100755 --- a/src/bp_sim.cpp +++ b/src/bp_sim.cpp @@ -2358,8 +2358,8 @@ enum CCapFileFlowInfo::load_cap_file_err CCapFileFlowInfo::load_cap_file(std::st /* check that we don't have reserved TTL */ uint8_t ttl = pkt_indication.getTTL(); - if ( ttl > 127) { - pkt_indication.setTTL(127); + if ( ttl > 128) { + pkt_indication.setTTL(128); } pkt_indication.clearTOSReserve(); |