diff options
Diffstat (limited to 'network/hping3/patches/ip_optlen_conflicting_types.diff')
-rw-r--r-- | network/hping3/patches/ip_optlen_conflicting_types.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/network/hping3/patches/ip_optlen_conflicting_types.diff b/network/hping3/patches/ip_optlen_conflicting_types.diff new file mode 100644 index 0000000000..b31b744730 --- /dev/null +++ b/network/hping3/patches/ip_optlen_conflicting_types.diff @@ -0,0 +1,18 @@ + +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 |