FreeBSD Bugzilla – Attachment 226598 Details for
Bug 257322
net/syncthing: workaround for issue reported in bug #257302
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
skip over non-mcast/down/ipfw0 netif when joining
patch-syncthing-lib-beacon-multicast.go (text/plain), 503 bytes, created by
Alex Vasylenko
on 2021-07-22 04:45:34 UTC
(
hide
)
Description:
skip over non-mcast/down/ipfw0 netif when joining
Filename:
MIME Type:
Creator:
Alex Vasylenko
Created:
2021-07-22 04:45:34 UTC
Size:
503 bytes
patch
obsolete
>--- syncthing/lib/beacon/multicast.go.orig 2021-07-06 08:51:32.000000000 -0400 >+++ syncthing/lib/beacon/multicast.go 2021-07-21 15:58:34.293724000 -0400 >@@ -126,6 +126,9 @@ > pconn := ipv6.NewPacketConn(conn) > joined := 0 > for _, intf := range intfs { >+ if intf.Flags&net.FlagUp == 0 || intf.Flags&net.FlagMulticast == 0 || intf.Name == "ipfw0" { >+ continue >+ } > err := pconn.JoinGroup(&intf, &net.UDPAddr{IP: gaddr.IP}) > if err != nil { > l.Debugln("IPv6 join", intf.Name, "failed:", err)
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 257322
: 226598