Hi all, This series is an effort to add support for the netboot options defined in DHCPv6 as well as the usual PXELINUX options to the udhcpc6 client. Four new options are added to udhcpc6, as well as fixing '-x' support and a bug in udhcp_str2optset() along the way.
I've tried to make the additions as unobtrusive as possible; there are a few updates to udhcp/common which felt better than duplicating the same logic in d6_common.c but comments welcome! v2 changes: Simpified ptr check in string_option_to_env(). Dropped trim() 'fix' and fixed the usage in udhcp_str2optset(). Samuel Mendoza-Jonas (6): udhcpc6: Add DHCPv6 env helper udhcpc6: Add DHCPv6 boot options udhcpc6: Add PXELINUX options udhcp: Add DHCP address scheme client config udhcp: Fix use of trim() in udhcp_str2optset() udhcpc6: Set -x options in request networking/udhcp/common.c | 33 +++++++++++----- networking/udhcp/common.h | 12 +++++- networking/udhcp/d6_common.h | 3 ++ networking/udhcp/d6_dhcpc.c | 74 +++++++++++++++++++++++++++++++++++- networking/udhcp/dhcpc.c | 4 +- networking/udhcp/dhcpc.h | 1 + networking/udhcp/dhcpd.c | 2 +- 7 files changed, 114 insertions(+), 15 deletions(-) -- 2.17.0 _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox