diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-07 02:57:54 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-07 02:57:54 +0900 |
commit | 693ec5ca835b9693a6a0354e120a084f1679fb86 (patch) | |
tree | 52180bd2c2c813c49b9c7d0856ef538654a13020 | |
parent | cde1f0e8fcf07eec2a19eae89090326dbb565707 (diff) | |
download | systemd-693ec5ca835b9693a6a0354e120a084f1679fb86.tar.gz |
network: constify one argument
-rw-r--r-- | src/network/networkd-address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 89b17d3147..a79b99b35a 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; |