MAX_XID is the value that Ryu chooses. It not in the spec. So I tried
to move it out of ofproto_v1.2.py in the commit
500c744f9610e8a5ff05b6bb8a997b27e5c7f5ee. However, I forgot to add it
to somewhere. I'm not sure where is the best place for it so let's add
it to ofproto_v1.2.py for now.

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/ofproto/ofproto_v1_2.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py
index 5567427..7c9227c 100644
--- a/ryu/ofproto/ofproto_v1_2.py
+++ b/ryu/ofproto/ofproto_v1_2.py
@@ -774,3 +774,5 @@ assert (calcsize(OFP_EXPERIMENTER_HEADER_PACK_STR) + 
OFP_HEADER_SIZE ==
 # define constants
 OFP_VERSION = 0x03
 OFP_TCP_PORT = 6633
+
+MAX_XID = 0xffffffff
-- 
1.7.4.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to