summaryrefslogtreecommitdiff
path: root/ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'ethtool.c')
-rw-r--r--ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethtool.c b/ethtool.c
index d21eaea..d0cc7d4 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -2719,7 +2719,7 @@ static int flow_spec_to_ntuple(struct ethtool_rx_flow_spec *fsp,
size_t i;
/* verify location is not specified */
- if (fsp->location != RX_CLS_LOC_UNSPEC)
+ if (fsp->location != RX_CLS_LOC_ANY)
return -1;
/* verify ring cookie can transfer to action */