avahi: Fix the service name to follow RFCs
Apparently having underscores in the middle of the service name is against the
mDNS/SRV record RFCs.
Change-Id: Ibe147387180e6c106c362a7f2b9296df8dfe5869
diff --git a/debian/changelog b/debian/changelog
index 015f8a1..dad7230 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mdt-services (2-1) UNRELEASED; urgency=medium
* Adjusting the mdt avahi service to advertise correctly.
+ * Fixing the MDT servicename to match RFC requirements.
-- AIY Projects <support-aiyprojects@google.com> Tue, 05 Feb 2019 11:12:41 -0800
diff --git a/etc/avahi/services/mdt.service b/etc/avahi/services/mdt.service
index 3e0561f..0dd0ee7 100644
--- a/etc/avahi/services/mdt.service
+++ b/etc/avahi/services/mdt.service
@@ -2,7 +2,7 @@
<name replace-wildcards="yes">%h</name>
<service>
- <type>_google_mdt._tcp</type>
+ <type>_googlemdt._tcp</type>
<port>22</port>
</service>
</service-group>