summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/local-addresses.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-06-11 18:05:18 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-06-11 18:05:18 +0200
commited810b68d323a58b6c36fd00d1118699466ca34a (patch)
treeab20464c078f36c21a7d0ae119ec6ef7141f5f9b /src/libsystemd/sd-rtnl/local-addresses.c
parentc067b4acef6715050a9fe92d5e16293d06ec69ee (diff)
parent31710be527104abad7541b122ee10c4560bd14d2 (diff)
Merge pull request #171 from teg/rtnl-broadcast-2
sd-rtnl: make joining broadcast groups implicit
Diffstat (limited to 'src/libsystemd/sd-rtnl/local-addresses.c')
-rw-r--r--src/libsystemd/sd-rtnl/local-addresses.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-rtnl/local-addresses.c b/src/libsystemd/sd-rtnl/local-addresses.c
index 31bfa06066..f05cbf1f47 100644
--- a/src/libsystemd/sd-rtnl/local-addresses.c
+++ b/src/libsystemd/sd-rtnl/local-addresses.c
@@ -66,7 +66,7 @@ int local_addresses(sd_rtnl *context, int ifindex, int af, struct local_address
if (context)
rtnl = sd_rtnl_ref(context);
else {
- r = sd_rtnl_open(&rtnl, 0);
+ r = sd_rtnl_open(&rtnl);
if (r < 0)
return r;
}
@@ -177,7 +177,7 @@ int local_gateways(sd_rtnl *context, int ifindex, int af, struct local_address *
if (context)
rtnl = sd_rtnl_ref(context);
else {
- r = sd_rtnl_open(&rtnl, 0);
+ r = sd_rtnl_open(&rtnl);
if (r < 0)
return r;
}