]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ipv6: Enable IPv6 typeconversion specifier
authorViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Fri, 2 Dec 2022 09:18:03 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 17:47:16 +0000 (12:47 -0500)
commitd807199da7a85dd299b25b380ba820a68d6a0db5
tree0a4852928767dc6690537e1b9b72d3136e0b8362
parent2f7f2f2aa9d310c2937bd753df1a2bd6953194d1
net: ipv6: Enable IPv6 typeconversion specifier

Add the possibility to recognize IPv6 address in print function.
To output IPv6 address use %pI6 specifier.

Series-changes: 3
- Substituted #if (...) for if (...) to get better readability

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/vsprintf.c