On Mon, May 07, 2012 at 07:18:34AM +0900, FUJITA Tomonori wrote: > Use '6s' for a mac address. It's consistent with nx code and works > with mac.haddr_to_bin helper function. > > Signed-off-by: FUJITA Tomonori <[email protected]>
Reviewed-by: Simon Horman <[email protected]> > --- > ryu/ofproto/ofproto_v1_0.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofproto/ofproto_v1_0.py > index 068770c..dff4c3a 100644 > --- a/ryu/ofproto/ofproto_v1_0.py > +++ b/ryu/ofproto/ofproto_v1_0.py > @@ -197,7 +197,7 @@ OFP_ACTION_VLAN_PCP_PACK_STR = '!HHB3x' > OFP_ACTION_VLAN_PCP_SIZE = 8 > assert calcsize(OFP_ACTION_VLAN_PCP_PACK_STR) == OFP_ACTION_VLAN_PCP_SIZE > > -OFP_ACTION_DL_ADDR_PACK_STR = '!HH' + OFP_ETH_ALEN_STR + 'B6x' > +OFP_ACTION_DL_ADDR_PACK_STR = '!HH' + OFP_ETH_ALEN_STR + 's6x' > OFP_ACTION_DL_ADDR_SIZE = 16 > assert calcsize(OFP_ACTION_DL_ADDR_PACK_STR) == OFP_ACTION_DL_ADDR_SIZE > > -- > 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
