projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79efe70
)
bridge: Change Ethernet address array from 8 bytes to ETH_ADDR_LEN bytes.
author
Ben Pfaff
<blp@nicira.com>
Tue, 29 Mar 2011 18:33:10 +0000
(11:33 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 1 Apr 2011 22:52:20 +0000
(15:52 -0700)
I don't know why this was declared as 8 bytes long but I only see 6
actually in use, as one would expect of an Ethernet address.
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 44474966ead69747977ec55e387533767017c19f..7a7544e283b3d5faa3675ba0a3813051eb4c9b41 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-743,7
+743,7
@@
bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg)
}
sflow_bridge_number = 0;
LIST_FOR_EACH (br, node, &all_bridges) {
- uint8_t ea[
8
];
+ uint8_t ea[
ETH_ADDR_LEN
];
uint64_t dpid;
struct iface *local_iface;
struct iface *hw_addr_iface;