summaryrefslogtreecommitdiff
path: root/src/core/loopback-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loopback-setup.c')
-rw-r--r--src/core/loopback-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loopback-setup.c b/src/core/loopback-setup.c
index 1999959946..a1b3847704 100644
--- a/src/core/loopback-setup.c
+++ b/src/core/loopback-setup.c
@@ -89,7 +89,7 @@ static int start_interface(sd_rtnl *rtnl, int if_loopback, struct in_addr *ipv4_
_cleanup_sd_rtnl_message_unref_ sd_rtnl_message *req = NULL;
int r;
- r = sd_rtnl_message_link_new(RTM_NEWLINK, if_loopback, &req);
+ r = sd_rtnl_message_link_new(RTM_SETLINK, if_loopback, &req);
if (r < 0)
return r;