Skip to content

Commit 26a3f5d

Browse files
sangjinhanchanglan
authored andcommitted
Use an asymmetric number for endianness test
1 parent 4f9fa25 commit 26a3f5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bessctl/conf/samples/generic_encap.bess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ payload = 'Hello World'
1010
test_packet = bytes(eth/ip/udp/payload)
1111

1212
Source() \
13-
-> SetMetadata(attrs=[{'name': 'ether_type', 'size': 2, 'value_int': 0x9999}]) \
13+
-> SetMetadata(attrs=[{'name': 'ether_type', 'size': 2, 'value_int': 0x9876}]) \
1414
-> Rewrite(templates=[test_packet]) \
1515
-> GenericEncap(fields=[ \
1616
{'size': 6, 'value': 0x020000000001},

0 commit comments

Comments
 (0)