We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccaa625 commit 5580de0Copy full SHA for 5580de0
include/nuttx/net/netfilter/ip_tables.h
@@ -117,7 +117,7 @@ struct ipt_entry
117
118
struct xt_counters counters; /* Packet and byte counters. */
119
120
- unsigned char elems[0]; /* The matches (if any), then the target. */
+ unsigned char elems[1]; /* The matches (if any), then the target. */
121
};
122
123
/* Note 1: How entries are organized in following interface arguments.
include/nuttx/net/netfilter/x_tables.h
@@ -62,7 +62,7 @@ struct xt_entry_target
62
uint16_t target_size; /* Total length */
63
} u;
64
65
- unsigned char data[0];
+ unsigned char data[1];
66
67
68
struct xt_standard_target
0 commit comments