plahti at qnx.com
Thu Apr 29 19:34:28 UTC 2010
I just want to help get DHCPv6/PPP supported for everyone to enjoy, and
I thought the best way would be to help with some code rather than just
talk about it. Please let me know if there is another place I should be
proposing patches or if there is any procedure I should follow or
anything else? Let me know if you prefer that I work against a
head/trunk code instead of 4.1.1 (I just don't know where it is?).
I think the patch is pretty simple, but I'm no expert and I was focused
on getting support for PPP so I may have overlooked something...
Thanks again for your work on DHCP,
On 26/04/10 03:31 PM, Patrik Lahti wrote:
> I would like to share with you the attached patch which enables DHCPv6
> over PPP interfaces in 4.1.1 release with the hope that we can work
> together to add support for this in future releases.
> Brief description of changes:
> - try other interfaces when forming DUID automatically, if it fails
> then exit requiring the user to configure it.
> - Accept PPP interfaces in get_hw_addr() making it a zero length
> HTYPE_RESERVED address.
> - safety checks for hlen == 0 when generating random seed.
> - IAIDs for PPP interfaces become sequential numbers rather than
> based upon MAC address.
> - Limited to BPF and LPF, only because that's the only thing I could
> test at the moment.
> Please let me know your feedback.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5845 bytes
Desc: not available
More information about the dhcp-users