Fix openflow.h compilation with GCC 2.95.

Necessary because older Linux 2.4 releases will only compile with GCC 2.95.
This commit is contained in:
Ben Pfaff authored and Ben Pfaff committed 2008-04-29 10:19:36 -07:00
1 parent 5ef980e9e2
commit 3ee68a5b11
1 file changed
+2 -2
+2 -2
View File
@@ -419,7 +419,7 @@ struct ofp_table_stats {
/* Current table statistics reply */
struct ofp_table_stats_reply {
struct ofp_header header;
struct ofp_table_stats tables[]; /* The number of entries is inferred from
struct ofp_table_stats tables[0]; /* The number of entries is inferred from
the length field in the header. */
};
@@ -440,7 +440,7 @@ struct ofp_port_stats_request {
/* Current port statistics reply */
struct ofp_port_stats_reply {
struct ofp_header header;
struct ofp_port_stats ports[]; /* The number of entries is inferred from
struct ofp_port_stats ports[0]; /* The number of entries is inferred from
the length field in the header. */
};