summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 16255f9227..7684d65f40 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -301,9 +301,9 @@ static int link_up(Link *link) {
assert(link->manager);
assert(link->manager->rtnl);
- r = sd_rtnl_message_link_new(RTM_NEWLINK, link->ifindex, &req);
+ r = sd_rtnl_message_link_new(RTM_SETLINK, link->ifindex, &req);
if (r < 0) {
- log_error("Could not allocate RTM_NEWLINK message");
+ log_error("Could not allocate RTM_SETLINK message");
return r;
}