pathmtu/pathmtu.c: Use newer-style type names in pseudoheader struct.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 14 Sep 2017 10:32:18 +0000 (11:32 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 28 Jun 2018 23:26:39 +0000 (00:26 +0100)
pathmtu/pathmtu.c

index a352633..5570278 100644 (file)
@@ -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 {