[Buildroot] [PATCH v5 2/2] busybox: wait for ipv6 default route in udhcpc6

Peter Korsgaard peter at korsgaard.com
Sun Oct 27 19:24:20 UTC 2019


>>>>> "Samuel" == Samuel Mendoza-Jonas <sam at mendozajonas.com> writes:

 > udhcpc6 implements "stateful" DHCPv6 for explicitly requesting an address
 > and other configuration information. A major difference between DHCPv4
 > and DHCPv6 is that DHCPv6 does *not* advertise a default route; this is
 > determined by normal IPv6 autoconfiguration.
 > Included is a change from Rob, which if handling a DHCPv6 address waits

Who is Rob?

 > a moment for the IPv6 route to be configured; as above this doesn't come
 > from DHCPv6 but rather the IPv6 Router Advertisement (RA) which happens
 > independently from udhcpc6. The intent here is to try and ensure that
 > the interface is route-able upon the script's completion as it would be
 > if called from udhcpc.

 > Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
 > ---
 > v5: Split into two patches, modify the wait_for_ipv6_default_route loop
 > to resemble the loop in package/ifupdown-scripts/network/if-pre-up.d/wait_iface
 > v4: Expand description of stateful DHCPv6 in commit message
 > v3: Point out 'stateful' DHCPv6 in commit, send to the correct list...
 > v2: Avoid bashisms

Committed after extending/rewording the commit message a bit, including
mentioning IF_WAIT_DELAY - thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list