FreeBSD Bugzilla – Attachment 153698 Details for
Bug 198211
tcpreplay not working for lo0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Check for pseudo_AF_HDRCMPLT to allow tcpreplay on loopback
loop.diff (text/plain), 448 bytes, created by
holger
on 2015-03-02 22:21:34 UTC
(
hide
)
Description:
Check for pseudo_AF_HDRCMPLT to allow tcpreplay on loopback
Filename:
MIME Type:
Creator:
holger
Created:
2015-03-02 22:21:34 UTC
Size:
448 bytes
patch
obsolete
>Index: net/if_loop.c >=================================================================== >--- net/if_loop.c (revision 279507) >+++ net/if_loop.c (working copy) >@@ -241,7 +241,7 @@ > ifp->if_obytes += m->m_pkthdr.len; > > /* BPF writes need to be handled specially. */ >- if (dst->sa_family == AF_UNSPEC) >+ if (dst->sa_family == AF_UNSPEC || dst->sa_family == pseudo_AF_HDRCMPLT) > bcopy(dst->sa_data, &af, sizeof(af)); > else > af = dst->sa_family;
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
Flags:
holger:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 198211
: 153698