]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
nicinfo: skip loopback devices
authorOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:41:00 +0000 (15:41 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:41:00 +0000 (15:41 -0700)
commit5add0ab1ad77a04edb6efc130fed1ad4abfe2ca6
tree6ca54a349c2d8b87920005f1ef2487fd3a6f393e
parent827d7fdbd4dc182f2f771977672d640d05e749b5
nicinfo: skip loopback devices

When libdnet isn't used, loopback devices were reported. This change
skips these interfaces. Also skip interfaces that are down.

The interface was visible with vim-cmd, but not in the VC or
ESX UI. It did not contain any IP addresses.
open-vm-tools/lib/nicInfo/nicInfoPosix.c