[PATCH] Allow compile without IPv6.

Gustavo Sverzut Barbieri barbieri at profusion.mobi
Wed Sep 8 08:21:08 PDT 2010


On Wed, Sep 8, 2010 at 12:17 PM, Gustavo Sverzut Barbieri
<barbieri at profusion.mobi> wrote:
> On Wed, Sep 8, 2010 at 12:01 PM, Kay Sievers <kay.sievers at vrfy.org> wrote:
>> On Wed, Sep 8, 2010 at 16:36, Gustavo Sverzut Barbieri
>> <barbieri at profusion.mobi> wrote:
>>> This patch isolates code using IPv6, AF_INET6 and in6 usage inside
>>> '#ifdef HAVE_IPV6' blocks.
>>
>> I think new projects from 2010 should not have ipv4-only. This time
>> should be over, finally. And people should get used to see ipv6
>> everywhere, and we should try to break the chicken-egg thing wherever
>> possible. :)
>>
>> I can see the use for a systemd without any IP networking, but
>> compiling-out ipv6 seems like the wrong thing to me. Sure, we should
>> make sure, that systemd handles a kernel without ipv6 gracefully, but
>> not offer a switch to stay in the IP stone age. :)
>
> That means I'll have to maintain this patch outside tree forever? :-)

btw, if you allow my patch to get in, in consideration I will kindly
create a new patch that flags if ipv6 support is present and if not
fallback to my ipv4 code... but that also means we need review of my
provided ipv4 code ;-)

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202


More information about the systemd-devel mailing list