mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
ceph: fix printing of ipv6 addrs
The buffer was too small. Make it bigger, use snprintf(), put brackets around the ipv6 address to avoid mixing it up with the :port, and use the ever-so-handy %pI[46] formats. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
b0bbb0be8f
commit
d06dbaf6c2
1 changed files with 6 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue