summaryrefslogtreecommitdiff
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-11 15:55:37 +0200
committerTom Gundersen <teg@jklm.no>2015-06-11 17:47:40 +0200
commit31710be527104abad7541b122ee10c4560bd14d2 (patch)
treea33dc1d5bd810211cc685861e9206133e1cae5aa /src/network/networkctl.c
parent4aa2764cade3e6d5233f2e390d64931d5cff1410 (diff)
sd-rtnl: make joining broadcast groups implicit
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r--src/network/networkctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 68925debe6..8e20f70aae 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -199,7 +199,7 @@ static int list_links(int argc, char *argv[], void *userdata) {
pager_open_if_enabled();
- r = sd_rtnl_open(&rtnl, 0);
+ r = sd_rtnl_open(&rtnl);
if (r < 0)
return log_error_errno(r, "Failed to connect to netlink: %m");
@@ -670,7 +670,7 @@ static int link_status(int argc, char *argv[], void *userdata) {
char **name;
int r;
- r = sd_rtnl_open(&rtnl, 0);
+ r = sd_rtnl_open(&rtnl);
if (r < 0)
return log_error_errno(r, "Failed to connect to netlink: %m");
@@ -910,7 +910,7 @@ static int link_lldp_status(int argc, char *argv[], void *userdata) {
pager_open_if_enabled();
- r = sd_rtnl_open(&rtnl, 0);
+ r = sd_rtnl_open(&rtnl);
if (r < 0)
return log_error_errno(r, "Failed to connect to netlink: %m");