From 404c46381d01088867fdcd92ea6b97978f4c95a7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 19 Dec 2010 05:56:19 +0100 Subject: libipset: const annotations --- lib/mnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mnl.c') diff --git a/lib/mnl.c b/lib/mnl.c index aa98a7c..683dba2 100644 --- a/lib/mnl.c +++ b/lib/mnl.c @@ -31,7 +31,7 @@ struct ipset_handle { }; /* Netlink flags of the commands */ -static uint16_t cmdflags[] = { +static const uint16_t cmdflags[] = { [IPSET_CMD_CREATE-1] = NLM_F_REQUEST|NLM_F_ACK|NLM_F_CREATE|NLM_F_EXCL, [IPSET_CMD_DESTROY-1] = NLM_F_REQUEST|NLM_F_ACK, [IPSET_CMD_FLUSH-1] = NLM_F_REQUEST|NLM_F_ACK, -- cgit v1.2.3