FreeBSD Bugzilla – Attachment 212894 Details for
Bug 244849
[NEW PORT] sysutils/beats7: Collect logs locally and send to remote logstash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for packetbeat build
patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_bindtodevice_bsd.go (text/plain), 666 bytes, created by
Ryan Lawrence
on 2020-03-31 16:01:46 UTC
(
hide
)
Description:
fix for packetbeat build
Filename:
MIME Type:
Creator:
Ryan Lawrence
Created:
2020-03-31 16:01:46 UTC
Size:
666 bytes
patch
obsolete
>*** vendor/github.com/insomniacslk/dhcp/dhcpv4/bindtodevice_bsd.go Tue Mar 31 07:10:01 2020 >--- other Wed Dec 31 19:00:00 1969 >*************** >*** 1,18 **** >- // +build freebsd openbsd netbsd >- >- package dhcpv4 >- >- import ( >- "net" >- "syscall" >- ) >- >- // BindToInterface emulates linux's SO_BINDTODEVICE option for a socket by using >- // IP_RECVIF. >- func BindToInterface(fd int, ifname string) error { >- iface, err := net.InterfaceByName(ifname) >- if err != nil { >- return err >- } >- return syscall.SetsockoptInt(fd, syscall.IPPROTO_IP, syscall.IP_RECVIF, iface.Index) >- } >--- 0 ----
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:
bug
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 244849
:
212448
|
212449
|
212450
|
212452
|
212453
| 212894 |
214643
|
214952