util-ioctl: don't build code RX ring on old system

If ETHTOOL_GRXRINGS is undefined we will not be able to build the
RX rings code. So we can make the build conditional to the
definition of ETHTOOL_GRXRINGS.
pull/1335/merge
Eric Leblond 11 years ago committed by Victor Julien
parent e78e33a428
commit bed5b28412

@ -212,7 +212,7 @@ int GetIfaceOffloading(const char *pcap_dev)
int GetIfaceRSSQueuesNum(const char *pcap_dev)
{
#ifdef HAVE_LINUX_ETHTOOL_H
#if defined HAVE_LINUX_ETHTOOL_H && defined ETHTOOL_GRXRINGS
struct ifreq ifr;
struct ethtool_rxnfc nfccmd;
int fd;

Loading…
Cancel
Save