]> git.proxmox.com Git - ovs.git/commitdiff
ofproto: Fix type of 'out_port' parameter to query_aggregate_stats().
authorBen Pfaff <blp@nicira.com>
Wed, 10 Nov 2010 01:03:18 +0000 (17:03 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 10 Nov 2010 01:08:09 +0000 (17:08 -0800)
Reported-by: Justin Pettit <jpettit@nicira.com>
ofproto/ofproto.c

index 097da6a34e846d4e5344bbe0cbd0054e7f42af7d..fb2746527b2a0fe1b901abae3194b2f350c8cd2c 100644 (file)
@@ -3352,7 +3352,7 @@ aggregate_stats_cb(struct cls_rule *rule_, void *cbdata_)
 
 static void
 query_aggregate_stats(struct ofproto *ofproto, struct cls_rule *target,
-                      uint16_t out_port, uint8_t table_id,
+                      ovs_be16 out_port, uint8_t table_id,
                       struct ofp_aggregate_stats_reply *oasr)
 {
     struct aggregate_stats_cbdata cbdata;