Skip to content

Commit a3f7a48

Browse files
AransentinVexu
authored andcommitted
netlink ifi_change no longer reserved
The documentation (e.g. `man 7 rtnetlink`) states that ifi_change "is reserved for future use and should be always set to 0xFFFFFFFF". This is no longer true, even though the text hasn't been updated.
1 parent 9f8d1a9 commit a3f7a48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/std/os/bits/linux/netlink.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ pub const ifinfomsg = extern struct {
273273
flags: c_uint,
274274

275275
/// IFF_* change mask
276-
/// is reserved for future use and should be always set to 0xFFFFFFFF.
277-
change: c_uint = 0xFFFFFFFF,
276+
change: c_uint,
278277
};
279278

280279
pub const rtattr = extern struct {

0 commit comments

Comments
 (0)