Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 231097 Details for
Bug 313855
net-analyzer/hping-3_pre20051105-r1 support building in OSX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sendip patch
hping-3_pre20051105-sendip.patch (text/plain), 810 bytes, created by
Florian CROUZAT (SuperFlo)
on 2010-05-11 13:17:39 UTC
(
hide
)
Description:
sendip patch
Filename:
MIME Type:
Creator:
Florian CROUZAT (SuperFlo)
Created:
2010-05-11 13:17:39 UTC
Size:
810 bytes
patch
obsolete
>--- sendip.c.org 2010-05-11 11:09:17.000000000 +0200 >+++ sendip.c 2010-05-11 11:10:34.000000000 +0200 >@@ -48,9 +48,10 @@ > ip->ihl = (IPHDR_SIZE + optlen + 3) >> 2; > ip->tos = ip_tos; > >-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI >+#if defined OSTYPE_DARWIN || defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI > /* FreeBSD */ > /* NetBSD */ >+/* Darwin */ > ip->tot_len = packetsize; > #else > /* Linux */ >@@ -73,9 +74,10 @@ > htons((unsigned short) src_id); > } > >-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI >+#if defined OSTYPE_DARWIN || defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI > /* FreeBSD */ > /* NetBSD */ >+/* Darwin */ > ip->frag_off |= more_fragments; > ip->frag_off |= fragoff >> 3; > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313855
:
227003
|
227005
|
231079
|
231081
|
231083
|
231085
|
231087
|
231089
|
231091
|
231093
|
231095
| 231097