summaryrefslogtreecommitdiffstats
path: root/lib/parse.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-19 05:56:19 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-19 06:12:23 +0100
commit404c46381d01088867fdcd92ea6b97978f4c95a7 (patch)
tree6edd126f56509f3b936d795e983f6866d079c21a /lib/parse.c
parent8673a740e4279e553e31e1b82ac8e4061ab5dc6f (diff)
libipset: const annotations
Diffstat (limited to 'lib/parse.c')
-rw-r--r--lib/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.c b/lib/parse.c
index 437ff61..169d2e0 100644
--- a/lib/parse.c
+++ b/lib/parse.c
@@ -345,7 +345,7 @@ int
ipset_parse_proto(struct ipset_session *session,
enum ipset_opt opt, const char *str)
{
- struct protoent *protoent;
+ const struct protoent *protoent;
uint8_t proto = 0;
assert(session);