summaryrefslogtreecommitdiff
path: root/src/machine/machine-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-04 01:41:12 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-04 01:42:42 +0100
commit1d050e1e0a7082e23ee9b31fa0b819cb332b3444 (patch)
tree7545997688bd7b7e3a34e4f580d306347eb8a037 /src/machine/machine-dbus.c
parentd2df88ffbac8858214adb9daaf7a93122fe26a50 (diff)
rtnl: when querying local addresses and gateways, take address family into account
Diffstat (limited to 'src/machine/machine-dbus.c')
-rw-r--r--src/machine/machine-dbus.c2
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);