Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ee1eb4d
)
Small fix to previous commit
98/5198/1
author
Ido Barnea
<
[email protected]
>
Thu, 22 Dec 2016 15:20:28 +0000
(17:20 +0200)
committer
Ido Barnea
<
[email protected]
>
Thu, 22 Dec 2016 15:20:28 +0000
(17:20 +0200)
Signed-off-by: Ido Barnea <
[email protected]
>
src/bp_sim.cpp
patch
|
blob
|
history
diff --git
a/src/bp_sim.cpp
b/src/bp_sim.cpp
index
5b3c1bb
..
0725a43
100755
(executable)
--- 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 > 12
7
) {
- pkt_indication.setTTL(12
7
);
+ if ( ttl > 12
8
) {
+ pkt_indication.setTTL(12
8
);
}
pkt_indication.clearTOSReserve();