summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.c
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.c
parent1b566071577fabd45f7e2b449ac583814d522759 (diff)
networkd: constify more things
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 9275ccf9a9..5498e352d8 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -338,7 +338,12 @@ static int address_release(Address *address) {
return 0;
}
-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) {
+
bool ready;
int r;