diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-04 01:41:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-04 01:42:42 +0100 |
commit | 1d050e1e0a7082e23ee9b31fa0b819cb332b3444 (patch) | |
tree | 7545997688bd7b7e3a34e4f580d306347eb8a037 /src/machine | |
parent | d2df88ffbac8858214adb9daaf7a93122fe26a50 (diff) |
rtnl: when querying local addresses and gateways, take address family into account
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machine-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index f12ce98a84..a2fc56f7c9 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c @@ -207,7 +207,7 @@ int bus_machine_method_get_addresses(sd_bus *bus, sd_bus_message *message, void if (r < 0) _exit(EXIT_FAILURE); - n = local_addresses(NULL, 0, &addresses); + n = local_addresses(NULL, 0, AF_UNSPEC, &addresses); if (n < 0) _exit(EXIT_FAILURE); |