summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/local-addresses.h
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/libsystemd/sd-rtnl/local-addresses.h
parentd2df88ffbac8858214adb9daaf7a93122fe26a50 (diff)
rtnl: when querying local addresses and gateways, take address family into account
Diffstat (limited to 'src/libsystemd/sd-rtnl/local-addresses.h')
-rw-r--r--src/libsystemd/sd-rtnl/local-addresses.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-rtnl/local-addresses.h b/src/libsystemd/sd-rtnl/local-addresses.h
index 2a9b2f42b7..ef7def530d 100644
--- a/src/libsystemd/sd-rtnl/local-addresses.h
+++ b/src/libsystemd/sd-rtnl/local-addresses.h
@@ -36,6 +36,6 @@ struct local_address {
union in_addr_union address;
};
-int local_addresses(sd_rtnl *rtnl, int ifindex, struct local_address **ret);
+int local_addresses(sd_rtnl *rtnl, int ifindex, int af, struct local_address **ret);
-int local_gateways(sd_rtnl *rtnl, int ifindex, struct local_address **ret);
+int local_gateways(sd_rtnl *rtnl, int ifindex, int af, struct local_address **ret);