On Wed, Jun 06, 2012 at 11:22:54PM +0900, FUJITA Tomonori wrote:
> We use 'parser' method name to interpret on-wire data format. Let's be
> consistent.

Reviewed-by: Simon Horman <[email protected]>

> Signed-off-by: FUJITA Tomonori <[email protected]>
> ---
>  ryu/ofproto/nx_match.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py
> index 6c09ee7..a9562a5 100644
> --- a/ryu/ofproto/nx_match.py
> +++ b/ryu/ofproto/nx_match.py
> @@ -406,7 +406,7 @@ class NXMatch(object):
>          self.header = header
>  
>      @classmethod
> -    def parse(cls, buf, offset, match_len):
> +    def parser(cls, buf, offset, match_len):
>          if match_len < 4:
>              raise exception.OFPMalformedMessage
>          (header,) = struct.unpack_from(ofproto_v1_0.NXM_HEADER_PACK_STRING,
> -- 
> 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
> 

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