[chrony-dev] IPV6 processing in client.c

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


In client.c:

Hmm, the hostname_buff in  process_smd_clients and process_cmd_sources is only 32 bytes long, which is arguably too small for an ipv6
address, of which only 25 bytes are displayed-- is this enough to display a
unique ipv6 address to a source?
In process_cmd_tracking the buffer "host" is 50 bytes long instead which seems
more reasonable.

Note that in process_cmd_tracking, the report seems to be aimed at IPV4, and
would fall apart with IPV6.

eg:
printf("Reference ID    : %lu.%lu.%lu.%lu (%s)\n", a, b, c, d, ref_ip);


---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/