mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #91] [CLOSED] [TEST ME!] Smarter Zeroconf Address #1563
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1563
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/91
Author: @walker0643
Created: 7/4/2018
Status: ❌ Closed
Base:
master← Head:smartzeroconf📝 Commits (10+)
2d7818fbetter discovery of default IP address via ZeroConf33224a1drop Qt discovery of best IP address in favor of pure WINAPI method (with wireless detection)a2b3658add unix implementation for DefaultInterfaceIP6761528Merge pull request #90 from debauchee/masterb84202achange order of headers and leave out wireless checking on osx for now30cce2dremove netinet/in.he2acbdbadd net/if.ha739ce7reinsert netinet/in.hb120fe4only include net/if.h for bsd/osxc9bd5c2weed out inactive interfaces on windows📊 Changes
10 files changed (+326 additions, -37 deletions)
View changed files
📝
src/gui/CMakeLists.txt(+16 -8)➕
src/gui/src/DefaultInterfaceIP.h(+10 -0)📝
src/gui/src/ZeroconfService.cpp(+2 -28)📝
src/gui/src/ZeroconfService.h(+0 -1)📝
src/gui/src/main.cpp(+7 -0)➕
src/gui/src/unix/DefaultInterfaceIP.cpp(+79 -0)➕
src/gui/src/unix/IfAddrsResource.h(+32 -0)➕
src/gui/src/unix/SocketResource.h(+32 -0)➕
src/gui/src/win32/DefaultInterfaceIP.cpp(+100 -0)➕
src/gui/src/win32/HeapResource.h(+48 -0)📄 Description
Ref: #81
Currently zeroconf code uses Qt libs for picking an IP address to advertise. While it is cross-platform it doesn't prefer real interfaces over virtual ones, nor wired over wifi. This PR fixes both of these issues.
I would like to have the Barrier community test the smartzeroconf branch. Everyone that can use Zeroconf please test with your setup and leave comments below.
If there are issues with detection please use this project as a diagnostic. Windows x64 users can use this link to download a prebuilt binary.
Thanks everyone!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.