projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2b22e
)
Fix 64-bit alignment issue in management protocol message.
author
Keith Amidon
<keith@nicira.com>
Wed, 11 Mar 2009 20:27:28 +0000
(13:27 -0700)
committer
Keith Amidon
<keith@nicira.com>
Wed, 11 Mar 2009 20:50:03 +0000
(13:50 -0700)
include/openflow/openflow-mgmt.h
patch
|
blob
|
history
diff --git
a/include/openflow/openflow-mgmt.h
b/include/openflow/openflow-mgmt.h
index c03482a5ae27001290b69037a764a34aae0c1b73..830ee5ac0b52a178e907d7601b8106f2ec2f7729 100644
(file)
--- a/
include/openflow/openflow-mgmt.h
+++ b/
include/openflow/openflow-mgmt.h
@@
-102,10
+102,11
@@
OFP_ASSERT(sizeof(struct ofmp_capability_reply) == 32);
struct ofmptsr_dp {
uint16_t type; /* OFMPTSR_DP. */
uint16_t len; /* 28. */
+ uint8_t pad[4];
uint64_t dp_id; /* Datapath ID. */
uint8_t name[OFP_MAX_PORT_NAME_LEN]; /* Null-terminated name. */
};
-OFP_ASSERT(sizeof(struct ofmptsr_dp) ==
28
);
+OFP_ASSERT(sizeof(struct ofmptsr_dp) ==
32
);
/* TLV types for switch resource descriptions. */
enum ofmp_switch_resources {