[ovs-dev] [PATCH] ovs-tcpdump: Fallback to read /proc/net/dev on Linux

Ben Pfaff blp at ovn.org
Mon Jan 13 17:42:15 UTC 2020


On Mon, Jan 13, 2020 at 05:47:03PM +0100, Timothy Redaelli wrote:
> 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>

Good work.  I applied this to master.


More information about the dev mailing list