projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Fix strict aliasing warnings.
[openvswitch]
/
ofproto
/
status.c
diff --git
a/ofproto/status.c
b/ofproto/status.c
index b5bc33a6362b7c150ffa687d24361aa2046f23d2..67cb27814f5b0efb2535f64d0ef00ed4c632e5c0 100644
(file)
--- a/
ofproto/status.c
+++ b/
ofproto/status.c
@@
-59,8
+59,9
@@
struct status_reply {
int
switch_status_handle_request(struct switch_status *ss, struct rconn *rconn,
int
switch_status_handle_request(struct switch_status *ss, struct rconn *rconn,
-
struct nicira_header *request
)
+
const struct ofp_header *oh
)
{
{
+ const struct nicira_header *request = (const struct nicira_header *) oh;
struct status_category *c;
struct nicira_header *reply;
struct status_reply sr;
struct status_category *c;
struct nicira_header *reply;
struct status_reply sr;