[ovs-dev] [PATCH] use magic ETH_ADDR_LEN instead of magic number 6 for eth mac addr length

Ben Pfaff blp at nicira.com
Wed Oct 22 15:47:41 UTC 2014


On Wed, Oct 22, 2014 at 02:58:43PM +0800, Wang Sheng-Hui wrote:
> ETH_ADDR_LEN is defined in lib/packets.h, valued 6.
> Use this macro instead of magic number 6 to represent the length
> of eth mac address.
> 
> Signed-off-by: Wang Sheng-Hui <shhuiw at gmail.com>

Applied, thanks.



More information about the dev mailing list