chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make list_length and string_item_to_ipaddr const-correct.
[secnet]
/
ipaddr.c
diff --git
a/ipaddr.c
b/ipaddr.c
index d23317c90dd1308b6d5a4c53fec0ec89bcdbd217..09eb80df66aaaba86b6ba3c8d8b0e00aaf5da603 100644
(file)
--- a/
ipaddr.c
+++ b/
ipaddr.c
@@
-418,7
+418,7
@@
static struct subnet string_item_to_subnet(item_t *i, cstring_t desc,
return s;
}
-uint32_t string_item_to_ipaddr(item_t *i, cstring_t desc)
+uint32_t string_item_to_ipaddr(
const
item_t *i, cstring_t desc)
{
uint32_t a, b, c, d;
int match;