start with -2
This commit is contained in:
parent
6018ddd374
commit
a1ea4943c5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class LocalNodes(dict):
|
|||
self.local_info = []
|
||||
for i, local_ip in enumerate(get_broadcast_interfaces()):
|
||||
if i:
|
||||
name = '%s-%s [%s].%s' % (desc['username'], i, settings.USER_ID, self.service_type)
|
||||
name = '%s-%s [%s].%s' % (desc['username'], i+1, settings.USER_ID, self.service_type)
|
||||
else:
|
||||
name = '%s [%s].%s' % (desc['username'], settings.USER_ID, self.service_type)
|
||||
local_info = ServiceInfo(self.service_type, name,
|
||||
|
|
Loading…
Reference in a new issue