We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0cab9 commit 6ea1d89Copy full SHA for 6ea1d89
targets/tofino/base/table_executor.cpp
@@ -36,8 +36,8 @@ const TableMatchKey *TofinoBaseTableExecutor::computeTargetMatchType(
36
}
37
// Action selector entries are not part of the match but we still need to create a key.
38
if (matchType == TofinoBaseConstants::MATCH_KIND_SELECTOR) {
39
- // cstring keyName = tableName + "_selector_" + fieldName;
40
- return new SelectorMatchKey(symbolicTablePrefix(), fieldName, keyExpression);
+ cstring keyName = tableName + "_selector_" + fieldName;
+ return new SelectorMatchKey(symbolicTablePrefix(), keyName, keyExpression);
41
42
if (matchType == TofinoBaseConstants::MATCH_KIND_RANGE) {
43
return new RangeTableMatchKey(symbolicTablePrefix(), fieldName, keyExpression);
0 commit comments