busybox: Parse multiple IPv6 addresses in dhcp6

This patches the udhcpc6 application to add environment variables for
each of the IA_ADDR blocks in the DHCP adverisement instead of just the
first one. It keeps the same variable for the 0th address to retain
backwards compatability. You can expect the mapping
  IA_ADDR[0] -> $ipv6_0
  IA_ADDR[1] -> $ipv6_1
  ...
  IA_ADDR[n] -> $ipv6_n

Tested: Verified working with multi-IP DHCP by manually triggering
udhcp6 with environment info printed during an installation job.
Fusion-Link: fusion2 N/A

Google-Bug-Id: 428779896
Change-Id: If4f3a5584eecf8b5f822a92144a01e4996963452
Signed-off-by: William A. Kennington III <wak@google.com>
2 files changed
tree: f77a7bf6a600eb2134cc2c381a190f3bf4f88d77
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.