summaryrefslogtreecommitdiff
path: root/src/core/loopback-setup.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-21 15:20:42 +0100
committerTom Gundersen <teg@jklm.no>2014-01-22 17:56:49 +0100
commit5d4795f3722911ccd7953c0cf112c1f7624ea834 (patch)
treea5b42630e34d3cbb66dc7b14d696e9c08f87a4cd /src/core/loopback-setup.c
parent41add995cf7d61e299cb859a7f63117e2b4de312 (diff)
sd-rtnl: link - allow setting the change mask
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 ffe661aa9e..7eb28fc039 100644
--- a/src/core/loopback-setup.c
+++ b/src/core/loopback-setup.c
@@ -95,7 +95,7 @@ static int start_interface(sd_rtnl *rtnl, int if_loopback, struct in_addr *ipv4_
if (r < 0)
return r;
- r = sd_rtnl_message_link_set_flags(req, IFF_UP);
+ r = sd_rtnl_message_link_set_flags(req, IFF_UP, IFF_UP);
if (r < 0)
return r;