~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10583b5
)
pathmtu/pathmtu.c: Use newer-style type names in pseudoheader struct.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Sep 2017 10:32:18 +0000
(11:32 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 28 Jun 2018 23:26:39 +0000
(
00:26
+0100)
pathmtu/pathmtu.c
patch
|
blob
|
blame
|
history
diff --git
a/pathmtu/pathmtu.c
b/pathmtu/pathmtu.c
index
a352633
..
5570278
100644
(file)
--- 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
_shor
t ph_len;
+ u
int8_t
ph_z, ph_p;
+ u
int16_
t ph_len;
};
struct raw_state {