From 693ec5ca835b9693a6a0354e120a084f1679fb86 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 7 Oct 2020 02:57:54 +0900 Subject: [PATCH] network: constify one argument --- src/network/networkd-address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 89b17d31475..a79b99b35a5 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -733,7 +733,7 @@ int link_drop_addresses(Link *link) { return r; } -static int address_acquire(Link *link, Address *original, Address **ret) { +static int address_acquire(Link *link, const Address *original, Address **ret) { union in_addr_union in_addr = IN_ADDR_NULL; struct in_addr broadcast = {}; _cleanup_(address_freep) Address *na = NULL;