[Nut-upsdev] Fwd: IPv6 patch

Arnaud Quette aquette.dev at gmail.com
Tue Nov 21 16:30:18 CET 2006


2006/11/21, Charles Lepple <clepple at gmail.com>:
> On 11/21/06, Arnaud Quette <aquette.dev at gmail.com> wrote:
> > can one of you take over the validation and application of the attached patch?
> > I only have a doubt about the "struct sockaddr_storage" and its
> > compatibility, but I've not deeply gone through the patch...
>
> Arnaud,
>
> this struct is mentioned in RFC 2553, but I don't know how many older
> systems pre-date this RFC.
>
> It looks like we could test for the struct with autoconf, and include
> the example struct definition from RFC 2553 if necessary (since it is
> intended to be backwards-compatible with the old sockaddr_in).

even if backward compatible, we would still need to detect if it's
available not to crash the compilation. So the autoconf part would be
required.

> I don't have IPv6 set up correctly here at home, so I may not be the
> best one to integrate this patch, though.

nor do I.
Dan (the author of this patch) might help us on that point.

Arnaud
-- 
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsdev mailing list