[PATCH] fix typo in netinit/ip.h

Peter Foley pefoley2@pefoley.com
Wed Mar 30 13:16:00 GMT 2016


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



More information about the Cygwin-patches mailing list