projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb7fa8
)
ofproto: Fix encoding of NXST_* replies.
author
Ben Pfaff
<blp@nicira.com>
Tue, 14 Dec 2010 00:21:43 +0000
(16:21 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 15 Dec 2010 17:48:18 +0000
(09:48 -0800)
This only matter for NXST_AGGREGATE currently since NXST_FLOW has value 0.
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 5cd76df81301cab9a61ad2ceb20506cacdf0aa34..5fef09226f51036c44d3529d3a8407968bfd84b2 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-3258,7
+3258,7
@@
make_nxstats_reply(ovs_be32 xid, ovs_be32 subtype, size_t body_len)
nsm->type = htons(OFPST_VENDOR);
nsm->flags = htons(0);
nsm->vendor = htonl(NX_VENDOR_ID);
- nsm->subtype =
htonl(subtype)
;
+ nsm->subtype =
subtype
;
return msg;
}