From 3bfc0d0b14be95e717a53859abd5bd8df626376d Mon Sep 17 00:00:00 2001
From: Timothee Besset <ttimo@valvesoftware.com>
Date: Tue, 1 Apr 2025 10:23:41 -0500
Subject: [PATCH] register the service on IPv4, the client uses the zeroconf
 python module, which only supports IPv4 anyway.

---
 src/steamos-devkit-service.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/steamos-devkit-service.py b/src/steamos-devkit-service.py
index 27113e6..c1b171f 100755
--- a/src/steamos-devkit-service.py
+++ b/src/steamos-devkit-service.py
@@ -379,7 +379,7 @@ class DevkitService:
             bus.get_object(avahi.DBUS_NAME,
                            server.EntryGroupNew()),
             avahi.DBUS_INTERFACE_ENTRY_GROUP)
-        avahi_object.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0),
+        avahi_object.AddService(avahi.IF_UNSPEC, avahi.PROTO_INET, dbus.UInt32(0),
                                 self.name, self.stype, self.domain, self.host,
                                 dbus.UInt16(int(self.port)), self.text)
 
-- 
GitLab