summaryrefslogtreecommitdiffstats
path: root/network/hping3/patches/ip_optlen_conflicting_types.diff
blob: b31b744730433b2e5e21ad288da2c852a3c4a08f (plain)

Fixes complicting declarations of variables ip_optlen in:

globals.h: extern char ip_optlen
and
main.c: unsigned ip_optlen

--- hping3.git.orig/main.c
+++ hping3.git/main.c
@@ -152,7 +152,7 @@ unsigned char
 	lsr		[255] = {0},
 	ssr		[255] = {0};
 
-unsigned
+char
 	ip_optlen	= 0;
 
 struct sockaddr_in