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 097da6a..fb27465 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;