mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
#4388 include the computer name in the Bonjour service name
This commit is contained in:
@@ -44,7 +44,7 @@ BonjourController * fDefaultController = nil;
|
||||
{
|
||||
[self stop];
|
||||
|
||||
NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@)", NSUserName()];
|
||||
NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@ - %@)", NSUserName(), [[NSHost currentHost] localizedName]];
|
||||
|
||||
fService = [[NSNetService alloc] initWithDomain: @"" type: @"_http._tcp." name: serviceName port: port];
|
||||
[fService setDelegate: self];
|
||||
|
||||
Reference in New Issue
Block a user