Skip to content

Commit

Permalink
Update ipreassembler.cc
Browse files Browse the repository at this point in the history
Merge fix
  • Loading branch information
Tom Barbette authored Nov 12, 2018
1 parent e4bf500 commit 3bb1de9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elements/ip/ipreassembler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ IPReassembler::simple_action(Packet *p)
if (p_off == 0) {
uint16_t old_ip_off = q->ip_header()->ip_off;
int header_delta = p->ip_header_offset() - q->ip_header_offset() + p->ip_header_length() - q->ip_header_length();
if (header_delta > 0)
if (header_delta > 0) {
int old_transport_length = q->transport_length();
q = q->push(header_delta);
if (!q) {
p->kill();
Expand Down

0 comments on commit 3bb1de9

Please sign in to comment.