This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] fix typo in netinit/ip.h
- From: Peter Foley <pefoley2 at pefoley dot com>
- To: cygwin-patches at cygwin dot com
- Cc: Peter Foley <pefoley2 at pefoley dot com>
- Date: Wed, 30 Mar 2016 09:15:55 -0400
- Subject: [PATCH] fix typo in netinit/ip.h
- Authentication-results: sourceware.org; auth=none
The type for the ip_tos member was typoed, fix it.
winsup/cygwin/ChangeLog:
include/netinet/ip.h: fix type of ip_tos
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
---
winsup/cygwin/include/netinet/ip.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/include/netinet/ip.h b/winsup/cygwin/include/netinet/ip.h
index b952d53..1f6ebbe 100644
--- a/winsup/cygwin/include/netinet/ip.h
+++ b/winsup/cygwin/include/netinet/ip.h
@@ -63,7 +63,7 @@ struct ip {
ip_hl:4; /* header length */
#endif
#endif /* not _IP_VHL */
- u_int_8 ip_tos; /* type of service */
+ u_int8_t ip_tos; /* type of service */
u_int16_t ip_len; /* total length */
u_int16_t ip_id; /* identification */
u_int16_t ip_off; /* fragment offset field */
--
2.8.0