summaryrefslogtreecommitdiffstats
path: root/src/expect/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expect/api.c')
-rw-r--r--src/expect/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expect/api.c b/src/expect/api.c
index 8ff20e2..3f17630 100644
--- a/src/expect/api.c
+++ b/src/expect/api.c
@@ -669,7 +669,7 @@ int nfexp_query(struct nfct_handle *h,
const enum nf_conntrack_query qt,
const void *data)
{
- size_t size = 4096; /* enough for now */
+ const size_t size = 4096; /* enough for now */
union {
char buffer[size];
struct nfnlhdr req;
@@ -701,7 +701,7 @@ int nfexp_send(struct nfct_handle *h,
const enum nf_conntrack_query qt,
const void *data)
{
- size_t size = 4096; /* enough for now */
+ const size_t size = 4096; /* enough for now */
union {
char buffer[size];
struct nfnlhdr req;