src/liboping.c: Replace sizeof(struct icmphdr) with ICMP_MINLEN.
authorFlorian Forster <ff@octo.it>
Tue, 9 Aug 2016 14:22:55 +0000 (16:22 +0200)
committerFlorian Forster <ff@octo.it>
Tue, 9 Aug 2016 14:59:06 +0000 (16:59 +0200)
commit41afaef8517f2674ca0f7e2969b1e3755f61cdec
tree98aefaa8f92333cf0a5c68056ce22ea68ef536b5
parent2599a5dc9ee489282f799ec6ceb7130c703eab73
src/liboping.c: Replace sizeof(struct icmphdr) with ICMP_MINLEN.

The definitions of struct icmphdr differ between platforms, while
ICMP_MINLEN is always 8, which is what we need here.
src/liboping.c