FreeBSD Bugzilla – Attachment 184983 Details for
Bug 221200
net/samplicator: cannot use -S under FreeBSD 11.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix rawsend.c
patch-rawsend.c (text/plain), 538 bytes, created by
Xavier Beaudouin
on 2017-08-03 09:48:07 UTC
(
hide
)
Description:
Patch to fix rawsend.c
Filename:
MIME Type:
Creator:
Xavier Beaudouin
Created:
2017-08-03 09:48:07 UTC
Size:
538 bytes
patch
obsolete
>--- rawsend.c.orig 2017-08-03 09:44:07 UTC >+++ rawsend.c >@@ -120,7 +120,7 @@ raw_send_from_to (s, msg, msglen, saddr_ > BSD-derivatives require host byte order, but at least OpenBSD > since version 2.1 uses network byte order. Linux uses network > byte order for all IP header fields. */ >-#if defined (__linux__) || (defined (__OpenBSD__) && (OpenBSD > 199702)) >+#if defined (__linux__) || (defined (__OpenBSD__) && (OpenBSD > 199702)) || defined(__FreeBSD__) > ih.ip_len = htons (length); > ih.ip_off = htons (0); > #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 221200
: 184983