aboutsummaryrefslogtreecommitdiffstats
path: root/linux/zeroconf_avahi.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-09 00:47:30 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-09 00:47:30 +0100
commit260123716172d33f44bdc0e4e5422554d139215c (patch)
tree840e8e6387b96bd6f9afe3ffebc19c781a112f1b /linux/zeroconf_avahi.c
parent0b624384cd52be20e61284551d832b499d7b7707 (diff)
downloadlibphidget21-260123716172d33f44bdc0e4e5422554d139215c.tar.gz
Imported Upstream version 2.1.8.20120507upstream/2.1.8.20120507
Diffstat (limited to 'linux/zeroconf_avahi.c')
-rw-r--r--linux/zeroconf_avahi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/zeroconf_avahi.c b/linux/zeroconf_avahi.c
index 98187bf..9b205b3 100644
--- a/linux/zeroconf_avahi.c
+++ b/linux/zeroconf_avahi.c
@@ -301,6 +301,7 @@ void PhidFromTXT(CPhidgetHandle phid, uint16_t txtLen, const char *txtRecord)
phid->deviceType = Phid_DeviceName[phid->deviceID];
free(type);
}
+ phid->deviceUID = CPhidget_getUID(phid->deviceIDSpec, phid->deviceVersion);
phid->networkInfo->mdns = PTRUE;