mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
network: constify one argument
This commit is contained in:
parent
cde1f0e8fc
commit
693ec5ca83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user