GNU bug report logs - #38218
network-interface-list only returns IPv4 addresses

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Fri, 15 Nov 2019 10:14:02 UTC

Severity: normal

Tags: fixed

Fixed in version 27.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 38218 <at> debbugs.gnu.org
Subject: bug#38218: network-interface-list only returns IPv4 addresses
Date: Sat, 16 Nov 2019 06:17:10 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> +Optional argument @var{full} non-@code{nil} means to instead return a
> +list of one or more elements of the form @w{@code{(@var{ifname}
> +@var{addr} @var{bcast} @var{netmask})}}.  @var{ifname} is a non-unique
> +string naming the interface.  @var{addr}, @var{bcast}, and
> +@var{netmask} are vectors of integers detailing the IP address,
> +broadcast address, and network mask.

I think it might make sense to include an example output from the
function here to make it clearer what the string bit is, in particular.

I've otherwise just skimmed the patch (and not tried it), but it makes
sense to me.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.