mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mdns] Fix NonUniqueNameException
Service names have to be unique even accross different interfaces
This commit is contained in:
parent
f14dcec711
commit
92a1a12226
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ if __name__ == '__main__':
|
|||
infos.append(
|
||||
AsyncServiceInfo(
|
||||
type_='_device-info._tcp.local.',
|
||||
name=d_domain+'._device-info._tcp.local.',
|
||||
name=interface+' '+d_domain+'._device-info._tcp.local.',
|
||||
addresses=b_ips,
|
||||
port=80,
|
||||
server=d+'.',
|
||||
|
@ -255,7 +255,7 @@ if __name__ == '__main__':
|
|||
infos.append(
|
||||
AsyncServiceInfo(
|
||||
type_='_http._tcp.local.',
|
||||
name=d_domain+'._http._tcp.local.',
|
||||
name=interface+' '+d_domain+'._http._tcp.local.',
|
||||
addresses=b_ips,
|
||||
port=80,
|
||||
server=d+'.',
|
||||
|
|
Loading…
Add table
Reference in a new issue