[PATCH 0/2] dhclient: add --prefix-len option

Tom Pusateri pusateri at bangj.com
Wed Dec 2 14:57:45 UTC 2015


Thanks for this. I would really like to see it integrated. I have been using a 2006 release of wide dhcp client on FreeBSD for a few years in order to get a /56 from Time Warner Cable but it isn’t being developed or maintained anymore.

I’ll try and do some testing over the holiday break.

Tom

> On Dec 2, 2015, at 6:44 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> 
> I have a regular need for setting a request for a specific prefix
> length delegation in the IPv6 client.  This adds this feature as a new
> command line option (just as the number of prefixes are requested via
> possibly multiple -P options.)
> 
> In the process, I found a fair bit of duplicated or near-duplicated
> code, and so I ended up refactoring some of the code, with the result
> that the total patchset is actually a fair bit of reduction in total
> code:
> 
> client/dhc6.c     | 1074 ++++++++++++++++++++---------------------------------
> client/dhclient.8 |    7 +
> client/dhclient.c |   13 +-
> includes/dhcpd.h  |    1 +
> 4 files changed, 432 insertions(+), 663 deletions(-)
> _______________________________________________
> dhcp-workers mailing list
> dhcp-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-workers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20151202/f5732e3a/attachment.bin>


More information about the dhcp-workers mailing list