summaryrefslogtreecommitdiff
path: root/src/network
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/network
parent41add995cf7d61e299cb859a7f63117e2b4de312 (diff)
sd-rtnl: link - allow setting the change mask
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index f1c2889ba4..2fa77f15ff 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -713,7 +713,7 @@ static int link_up(Link *link) {
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) {
log_error_link(link, "Could not set link flags: %s", strerror(-r));
return r;