[ovs-git] [openvswitch/ovs] 02707c: ovs-tcpdump: Fallback to read /proc/net/dev on Linux
noreply at github.com
Mon Jan 13 17:42:09 UTC 2020
Author: Timothy Redaelli <tredaelli at redhat.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
ovs-tcpdump: Fallback to read /proc/net/dev on Linux
Currently, ovs-tcpdump uses python3-netifaces in order to get the list of
the network interfaces, but python3-netifaces may not be installed nor
available on some distributions (for example on RHEL7).
This commit adds, only for Linux, an alternative way (that is only used
when netifaces is not available) to read the list of the network interfaces
by reading "/proc/net/dev".
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git