summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-12-17 18:36:09 +0100
committerTom Gundersen <teg@jklm.no>2013-12-17 22:08:12 +0100
commit22936833e177d9e477e059ec2b4f4fa9213b4e19 (patch)
tree95f06a7b8fb391c9d8a7d59be5439024d1877410 /src/network/networkd-manager.c
parent2b49a4704109e7417da82bdf1e3cb13c0f347b5b (diff)
networkd: rename link_update_flags to link_update
We are likely to track more than the flags in the future.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r--src/network/networkd-manager.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 1b5837e42c..724e5e5a47 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -243,7 +243,6 @@ int manager_udev_listen(Manager *m) {
static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, void *userdata) {
Manager *m = userdata;
Link *link;
- unsigned flags;
int r, ifindex;
r = sd_rtnl_message_link_get_ifindex(message, &ifindex);
@@ -254,11 +253,7 @@ static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, vo
if (!link)
return 0;
- r = sd_rtnl_message_link_get_flags(message, &flags);
- if (r < 0)
- return 0;
-
- r = link_update_flags(link, flags);
+ r = link_update(link, message);
if (r < 0)
return 0;