Jukka Ruohonen <jruohonen%iki.fi@localhost> writes: > On Tue, Jun 04, 2013 at 07:11:02PM -0400, Christos Zoulas wrote: >> On Jun 5, 2:06am, jruohonen%iki.fi@localhost (Jukka Ruohonen) wrote: >> -- Subject: Re: CVS commit: src/sys >> >> | On Tue, Jun 04, 2013 at 06:47:37PM -0400, Christos Zoulas wrote: >> | > While here, simplify the code and remove the IPSEC_NAT_T option; always >> | > compile nat-traversal in so that it does not bitrot. >> | >> | By the way, while I can understand INET6, what is the purpose of INET? INET is really INET4. >> | Funny that even src/sys/netinet/udp_usrreq.c claims to work without it >> | (to the usual funny extent of these #ifdefs). That file supports UDP for IPv4 and IPv6. Arguably it should be in a netinternet directory instead, but moving it would not be useful. >> I don't think that anyone has compiled INET6 recently without INET >> (if ever). > > Ah, maybe IPv6-only hosts would be the rationale then. But as you noted, it > is not difficult to find cases like > > #ifdef INET > ... > #ifdef INET6 That's a bug; in theory one should be able to have INET6 without INET. I did try it once several years ago, and had some trouble that I didn't solve.
Attachment:
pgpscZozsDlFQ.pgp
Description: PGP signature