mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Fix mdns to pass through the desired IP address.
This commit is contained in:
parent
f835fa2ad1
commit
2664834600
@ -106,7 +106,8 @@ def publish(desc, type, port, properties=None, add_hostname=True, use_ip_address
|
||||
into the TXT record.
|
||||
'''
|
||||
server = start_server()
|
||||
service = create_service(desc, type, port, properties, add_hostname)
|
||||
service = create_service(desc, type, port, properties, add_hostname,
|
||||
use_ip_address)
|
||||
server.registerService(service)
|
||||
|
||||
def unpublish(desc, type, port, properties=None, add_hostname=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user