author | Florian Forster <ff@octo.it> | |
Tue, 9 Aug 2016 14:22:55 +0000 (16:22 +0200) | ||
committer | Florian Forster <ff@octo.it> | |
Tue, 9 Aug 2016 14:59:06 +0000 (16:59 +0200) | ||
commit | 41afaef8517f2674ca0f7e2969b1e3755f61cdec | |
tree | 98aefaa8f92333cf0a5c68056ce22ea68ef536b5 | tree | snapshot |
parent | 2599a5dc9ee489282f799ec6ceb7130c703eab73 | commit | diff |
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.
The definitions of struct icmphdr differ between platforms, while
ICMP_MINLEN is always 8, which is what we need here.
src/liboping.c | diff | blob | history |