From: Mark Wooding Date: Thu, 14 Sep 2017 10:32:18 +0000 (+0100) Subject: pathmtu/pathmtu.c: Use newer-style type names in pseudoheader struct. X-Git-Tag: 1.5.0~41^2~33 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/1d25a3edbe44af1827d434e6864e29befbdf19b7 pathmtu/pathmtu.c: Use newer-style type names in pseudoheader struct. --- diff --git a/pathmtu/pathmtu.c b/pathmtu/pathmtu.c index a3526331..55702787 100644 --- a/pathmtu/pathmtu.c +++ b/pathmtu/pathmtu.c @@ -434,8 +434,8 @@ static unsigned ipcksum(const void *buf, size_t n, unsigned a) /* TCP/UDP pseudoheader structure. */ struct phdr { struct in_addr ph_src, ph_dst; - u_char ph_z, ph_p; - u_short ph_len; + uint8_t ph_z, ph_p; + uint16_t ph_len; }; struct raw_state {