diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-11 15:55:37 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-11 17:47:40 +0200 |
commit | 31710be527104abad7541b122ee10c4560bd14d2 (patch) | |
tree | a33dc1d5bd810211cc685861e9206133e1cae5aa /src/libsystemd/sd-rtnl/local-addresses.c | |
parent | 4aa2764cade3e6d5233f2e390d64931d5cff1410 (diff) |
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.c | 4 |
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; } |