Subject: bug#38218: network-interface-list only returns IPv4 addresses

From: Robert Pluim <[email-masked]>
Date: Tue, 26 Nov 2019 19:29:36 +0100

>>>>> On Tue, 26 Nov 2019 20:23:30 +0200, Eli Zaretskii <[email-masked]> said:

    >> From: Robert Pluim <[email-masked]>
    >> Cc: [email-masked]
    >> Date: Tue, 26 Nov 2019 19:10:04 +0100
    >> 
    Eli> It needed a bit of tweaking for mingw.org's MinGW, so that it would
    Eli> work on XP.  However, after making the changes, one test from
    Eli> nsm-tests.el fails here:
    >> Thanks for that

    Eli> Thanks for reviewing it.

Thanks for writing it. The Windows handling of IP prefixes is weird,
to say the least.

    Eli> Test nsm-check-local-subnet-ipv4 condition:
    Eli> (ert-test-failed
    Eli> ((should
    Eli> (eq nil
    Eli> (nsm-should-check "127.1")))
    Eli> :form
    Eli> (eq nil t)
    Eli> :value nil))
    Eli> FAILED  1/2  nsm-check-local-subnet-ipv4 (4.656250 sec)
    >> 
    >> Eek. mingw (or winsock) doesnʼt support getaddrinfo("127.1",...),
    >> although getaddrinfo("127.0.0.1",...) seems to work. This fixes it for me:

    Eli> For me as well, thanks.

Pushed as 95e218af14.

Thanks

Robert