]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libifconfig: allow to get original interface name via ifconfig_get_orig_name()
authorAndriy Voskoboinyk <avos@FreeBSD.org>
Mon, 16 Oct 2017 06:54:26 +0000 (06:54 +0000)
committerAndriy Voskoboinyk <avos@FreeBSD.org>
Mon, 16 Oct 2017 06:54:26 +0000 (06:54 +0000)
commitc2803f1a046713ae7284a285ccf9484788c8401e
tree8f2fbf43dbf6f4eca20406ed67638dbf86671839
parente2a596363565778ae1d2ca3195270f037ccb5137
libifconfig: allow to get original interface name via ifconfig_get_orig_name()

Uses the same method as in tools/tools/ifinfo/ifinfo.c
(via net.link.generic sysctl).

Tested with modified wlandebug(8).

Differential Revision: https://reviews.freebsd.org/D12554
lib/libifconfig/libifconfig.c
lib/libifconfig/libifconfig.h