Skip to content

Commit 4f9fa25

Browse files
authored
Merge pull request #513 from vivi/fix-attr
Fix attr_match.bess to use correct arg
2 parents 489bb00 + f79fc25 commit 4f9fa25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bessctl/conf/metadata/attr_match.bess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# For metadata attribute usage for wildcard matching,
22
# also see samples/wildcardmatch.bess
33

4-
em::ExactMatch(fields=[{'name':'foo', 'size':1}, \
5-
{'name':'bar', 'size':2}])
4+
em::ExactMatch(fields=[{'attribute':'foo', 'size':1}, \
5+
{'attribute':'bar', 'size':2}])
66
Source() \
77
-> SetMetadata(attrs=[{'name': 'foo', 'size': 1, 'value_int': 0xcc}]) \
88
-> SetMetadata(attrs=[{'name': 'bar', 'size': 2, 'value_int': 0x1122}]) \

0 commit comments

Comments
 (0)