Code Review
/
integration
/
test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cluster id test case
[integration/test.git]
/
tools
/
fastbgp
/
play.py
diff --git
a/tools/fastbgp/play.py
b/tools/fastbgp/play.py
index d70cb1cf22c9e6ef41e99b7d54f19d3fa5d53b84..3a347e425bdb685a722722019d441c47b4f315cf 100755
(executable)
--- a/
tools/fastbgp/play.py
+++ b/
tools/fastbgp/play.py
@@
-995,7
+995,7
@@
class MessageGenerator(object):
if cluster_list_item is not None:
path_attributes_hex += (
"\x80" # Flags ("Optional, non-transitive")
if cluster_list_item is not None:
path_attributes_hex += (
"\x80" # Flags ("Optional, non-transitive")
- "\x0
9
" # Type (CLUSTER_LIST)
+ "\x0
a
" # Type (CLUSTER_LIST)
"\x04" # Length (4)
) # one CLUSTER_LIST item (4 bytes)
path_attributes_hex += struct.pack(">I", int(cluster_list_item))
"\x04" # Length (4)
) # one CLUSTER_LIST item (4 bytes)
path_attributes_hex += struct.pack(">I", int(cluster_list_item))