aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_pedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_pedit.h')
-rw-r--r--include/net/tc_act/tc_pedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tc_act/tc_pedit.h b/include/net/tc_act/tc_pedit.h
index fac3ad4a86de..748cf87a4d7e 100644
--- a/include/net/tc_act/tc_pedit.h
+++ b/include/net/tc_act/tc_pedit.h
@@ -23,7 +23,7 @@ struct tcf_pedit {
static inline bool is_tcf_pedit(const struct tc_action *a)
{
#ifdef CONFIG_NET_CLS_ACT
- if (a->ops && a->ops->type == TCA_ACT_PEDIT)
+ if (a->ops && a->ops->id == TCA_ID_PEDIT)
return true;
#endif
return false;