On Sun, 2 May 2021 at 15:55, Paul Wouters wrote:
> On Sun, 2 May 2021, D. Hugh Redelmeier wrote:
>
> > Subject: [Swan-dev] get rid of getnetbyname() /etc/networks?
> >
> > Comments I added recently:
> >
> > + /*
> > + * try a name from /et
| From: Paul Wouters
| Related, there are still a few places that end up calling
| gethostbyname2() which is also obsolete and does not work for IPv6:
|
| lib/libswan/ttoaddress.c: struct hostent *h = gethostbyname2(p, af);
|
| The case in ttoaddress.c is the main one. Since it is used
| From: Paul Wouters
| > Subject: [Swan-dev] get rid of getnetbyname() /etc/networks?
| kill it :)
Done.
| Related, there are still a few places that end up calling
| gethostbyname2() which is also obsolete and does not work for IPv6:
In what way does it not work for IPv6?
I ad
On Sun, 2 May 2021, D. Hugh Redelmeier wrote:
Subject: [Swan-dev] get rid of getnetbyname() /etc/networks?
Comments I added recently:
+ /*
+* try a name from /etc/networks
+*
+* Seems pretty obsolete:
+* - latest RFC, 1101, dated April 1989
Comments I added recently:
+ /*
+* try a name from /etc/networks
+*
+* Seems pretty obsolete:
+* - latest RFC, 1101, dated April 1989
+* - IPv4 only
+* - doesn't support classless networks
+* - Window has it
+*/
We are using