Skip to content

Commit

Permalink
Added missing #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Jan 29, 2025
1 parent 4d092ae commit 50d8293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NetworkInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,9 @@ bool NetworkInterface::processPacket(int32_t if_index, u_int32_t bridge_iface_id

switch (l4_proto) {
case IPPROTO_TCP:
#if defined(NTOPNG_PRO)
flow->updateTCPAck(when, src2dst_direction, ntohl(tcph->ack_seq));
#endif
flow->updateTcpFlags(when, tcp_flags, src2dst_direction, new_flow);

/*
Expand Down

0 comments on commit 50d8293

Please sign in to comment.