]> git.baikalelectronics.ru Git - uboot.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)
commitf786fb97da3dac679d0d3b2fb1d111bae3b09e4a
tree0a4852928767dc6690537e1b9b72d3136e0b8362
parent52a31ae5aeb60ac5624909930270b1e84e9c2c21
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