
9 Sep
2022
9 Sep
'22
4:44 p.m.
On Thu, 8 Sept 2022 at 05:59, Viacheslav Mitrofanov v.v.mitrofanov@yadro.com wrote:
The command tftpboot uses IPv4 by default. Add the possibility to use IPv6 instead. If an address in the command is an IPv6 address it will use IPv6 to boot or if there is a suffix -ipv6 in the end of the command it also force using IPv6. All other tftpboot features and parameters are left the same.
Signed-off-by: Viacheslav Mitrofanov v.v.mitrofanov@yadro.com
cmd/net.c | 35 ++++++++++++++++++++++++++++++ net/net.c | 17 +++++++++++++-- net/tftp.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 105 insertions(+), 10 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org