summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-06-08 23:10:16 +0200
committerTom Gundersen <teg@jklm.no>2016-06-08 23:10:16 +0200
commitd9c11f2b01463e33a0b453e013786b5b79182dbe (patch)
treeabb611242bb5a77acefffe053b80840dfd7cd32d /src/network/networkd-address.h
parente80f080bffeab01390a086c802f7e47bd11fc369 (diff)
parent889b550f2dc27b7696781d3d9d91e8de28fd8fee (diff)
Merge pull request #3431 from poettering/network-fixes
put limits on addresses and routers per link and per network
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);