From d5f2379be2c4dad9a2fdda6ab28d30856aa782da Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 13 Dec 2010 16:21:43 -0800 Subject: [PATCH] ofproto: Fix encoding of NXST_* replies. This only matter for NXST_AGGREGATE currently since NXST_FLOW has value 0. --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 5cd76df8..5fef0922 100644 --- 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; } -- 2.30.2