From: Ben Pfaff Date: Wed, 10 Nov 2010 01:03:18 +0000 (-0800) Subject: ofproto: Fix type of 'out_port' parameter to query_aggregate_stats(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734bbeb479093f367f025a2298a4e70cb6015998;p=openvswitch ofproto: Fix type of 'out_port' parameter to query_aggregate_stats(). Reported-by: Justin Pettit --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 097da6a3..fb274652 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -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;