- ds_put_format(string, " duration=%"PRIu32" s, ", ntohs(fs->duration));
+ ds_put_format(string, " duration=%"PRIu32" s, ", ntohl(fs->duration));
ds_put_format(string, "table_id=%"PRIu8", ", fs->table_id);
ds_put_format(string, "table_id=%"PRIu8", ", fs->table_id);
- ds_put_format(string, "priority=%"PRIu16", ", fs->match.wildcards ? ntohs(fs->priority) : (uint16_t)-1);
+ ds_put_format(string, "priority=%"PRIu16", ",
+ fs->match.wildcards ? ntohs(fs->priority) : (uint16_t)-1);
ds_put_format(string, "n_packets=%"PRIu64", ",
ds_put_format(string, "n_packets=%"PRIu64", ",
ds_put_format(string, "n_bytes=%"PRIu64", ", ntohll(fs->byte_count));
ofp_print_match(string, &fs->match);
}
ds_put_format(string, "n_bytes=%"PRIu64", ", ntohll(fs->byte_count));
ofp_print_match(string, &fs->match);
}