mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
local-addresses: set ifindex when dump addresses on an interface
This commit is contained in:
parent
c31298be7a
commit
6a28b78f2e
@ -79,7 +79,7 @@ int local_addresses(
|
||||
return r;
|
||||
}
|
||||
|
||||
r = sd_rtnl_message_new_addr(rtnl, &req, RTM_GETADDR, 0, af);
|
||||
r = sd_rtnl_message_new_addr(rtnl, &req, RTM_GETADDR, ifindex, af);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user