network: constify one argument

This commit is contained in:
Yu Watanabe
2020-10-07 02:57:54 +09:00
parent cde1f0e8fc
commit 693ec5ca83
+1 -1
View File
@@ -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;