Ticket #40 (closed enhancement: fixed)
host name number incrementing on collision
| Reported by: | chris | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Avahi 0.6.13 | Component: | avahi-client |
| Keywords: | Cc: |
Description
We've been testing Avahi on a few of our products and have a little problem when we have multiple devices with the same host name on the same network segement.
The device host names are set to their product IDs, which all happen to end in a zero. When we have two or more on the same network, Avahi correctly detects the name is already taken and starts appending incremental numbers to the hostname. Unfortunately, that turns a host name like B000 into B001.
Would it be possible to change this action so a hyphen is added first, and then the incremental numbering? Apple uses this in their explaination of Naming in the Bonjour Overview PDF.
Thanks.

