summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-03 19:54:35 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-03 19:54:35 +0200
commit889b550f2dc27b7696781d3d9d91e8de28fd8fee (patch)
tree081af92a66e634b32b2f66258e608b8181a05241 /src/network/networkd-address.h
parent1b566071577fabd45f7e2b449ac583814d522759 (diff)
networkd: constify more things
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index 784ab18b27..03c4bea7c6 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -63,7 +63,7 @@ void address_free(Address *address);
int address_add_foreign(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
int address_add(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
int address_get(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
-int address_update(Address *address, unsigned char flags, unsigned char scope, struct ifa_cacheinfo *cinfo);
+int address_update(Address *address, unsigned char flags, unsigned char scope, const struct ifa_cacheinfo *cinfo);
int address_drop(Address *address);
int address_configure(Address *address, Link *link, sd_netlink_message_handler_t callback, bool update);
int address_remove(Address *address, Link *link, sd_netlink_message_handler_t callback);