fangorn/sunshine-qemu
public
ref:50eb6e478f01e19c84237062fcd9f1071e952574
feat(linux): advertise sunshine_name over mDNS so per-VM instances don't collide
The Avahi service instance name came from the host name, so two Sunshine
instances on one host (one per VM) both registered "<host>" and the second
was renamed to "<host> #2". The name now follows sunshine_name, which
defaults to the host name, so a single instance advertises what it did
before.
Refs #6
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
SHA:
50eb6e478f01e19c84237062fcd9f1071e952574
Author:
Cole Christensen <cole.christensen@gmail.com>
Date:
2026-09-13 01:00
Parents:
cbc1a54
4 files changed
+34
-1
| Type | ||
|---|---|---|
|
|
src/network.cpp | +6 −0 |
|
||
|
|
src/network.h | +9 −0 |
|
||
|
|
src/platform/linux/publish.cpp | +1 −1 |
|
||
|
|
tests/unit/test_network.cpp | +18 −0 |
|
||