15 Apr
2026
15 Apr
'26
9:38 p.m.
On Fri, 27 Mar 2026 15:55:51 -0400
Jon Maloy
The function conf_print() uses three different buffers as target for address print formatting. This is unnecessary, as a single buffer of length INANY_ADDRSTRLEN has sufficient space for all address types, IPv4, IPv6 and MAC. There is no risk for conflicts, since all formatting is followed by an immediate info() printout.
To make our life easier in the following commits, we do this simplification here.
Signed-off-by: Jon Maloy
--- v2: - Changed buffer length to INANY_ADDSTRLEN - Eliminated use of same buffer in same info() printout.
Applied, sorry for the delay. -- Stefano