summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libsystemd/rtnl-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/rtnl-message.c b/src/libsystemd/rtnl-message.c
index 517df61156..984115c3c0 100644
--- a/src/libsystemd/rtnl-message.c
+++ b/src/libsystemd/rtnl-message.c
@@ -173,6 +173,7 @@ int sd_rtnl_message_link_set_flags(sd_rtnl_message *m, unsigned flags) {
ifi = NLMSG_DATA(m->hdr);
ifi->ifi_flags = flags;
+ ifi->ifi_change = 0xffffffff;
return 0;
}
@@ -208,7 +209,6 @@ int sd_rtnl_message_link_new(uint16_t nlmsg_type, int index, sd_rtnl_message **r
ifi->ifi_family = AF_UNSPEC;
ifi->ifi_index = index;
- ifi->ifi_change = 0xffffffff;
UPDATE_RTA(*ret, IFLA_RTA(ifi));