aboutsummaryrefslogtreecommitdiff
path: root/src/socket_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r--src/socket_wrapper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index a5037f7..e59e501 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -2539,7 +2539,6 @@ static uint8_t *swrap_pcap_packet_init(struct timeval *tval,
if (wire_len > 64 ) {
icmp_truncate_len = wire_len - 64;
}
- wire_hdr_len += icmp_hdr_len;
wire_len += icmp_hdr_len;
}