[ovs-git] [openvswitch/ovs] 3bd0fd: Use magic ETH_ADDR_LEN instead of 6 for Ethernet a...

GitHub noreply at github.com
Wed Oct 22 15:46:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3bd0fd39ebeaca5f87284704e7606d225d0e1bbb
      https://github.com/openvswitch/ovs/commit/3bd0fd39ebeaca5f87284704e7606d225d0e1bbb
  Author: Wang Sheng-Hui <shhuiw at gmail.com>
  Date:   2014-10-22 (Wed, 22 Oct 2014)

  Changed paths:
    M lib/bfd.h
    M lib/cfm.c
    M lib/cfm.h
    M lib/flow.h
    M lib/match.c
    M lib/match.h
    M lib/netdev-provider.h
    M lib/netdev-windows.c
    M lib/netdev.h
    M lib/ofp-parse.c
    M lib/ofp-parse.h
    M lib/packets.h
    M ofproto/bond.c
    M ofproto/bond.h
    M ofproto/ofproto-dpif-ipfix.c
    M tests/test-classifier.c
    M vswitchd/bridge.c

  Log Message:
  -----------
  Use magic ETH_ADDR_LEN instead of 6 for Ethernet address length.

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>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list