mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-12 19:29:30 +08:00

addresses a few things: - Windows has a concept of both a network "interface" and an "adapter" - These are almost always a one-to-one relationship, though there can be esoteric instances where they are not. - I believe the gopsutil NetIOCounters function should only return on a per-interface level, since this is the behavior on linux/darwin. Previously, the plugin was basically ignoring the actual interfaces returned from net.Interfaces(). Instead, it was looping over the net adapters for each interface, somewhat uselessly. FWIW, the code for getAdapterList() doesn't exist in the Go standard lib anymore. closes #245