On Mon, 25 Jun 2012 08:46:15 +0900
Simon Horman <[email protected]> wrote:

> This corrects what appear to be two errors in the arguments
> passed to OFPMatch.parser() by OFPPacketIn.parser().
> 
> * The buffer is msg.buf, buf doesn't exist in this context
> * ofproto_v1_2.OFP_PACKET_IN_SIZE includes ofproto_v1_2.OFP_HEADER_SIZE
>   so it should not be added to the offset passed to OFPMatch.parser().
> 
> Signed-off-by: Simon Horman <[email protected]>
> ---
>  ryu/ofproto/ofproto_v1_2_parser.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks!

We also need a fix to set the received data to msg.data like we do for
of1.0. You already have such. If not, I'll write.

------------------------------------------------------------------------------
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