commit a3f7a48d9c9916a36a0b246eefbf5516e9400b95 (tree)
parent 9f8d1a9ff30d6363ff97d9071dd585b9a7e6f3a7
Author: Jens Goldberg <jens.goldberg@gmail.com>
Date: Mon, 7 Jun 2021 19:47:34 +0000
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.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/std/os/bits/linux/netlink.zig b/lib/std/os/bits/linux/netlink.zig
@@ -273,8 +273,7 @@ pub const ifinfomsg = extern struct {
flags: c_uint,
/// IFF_* change mask
- /// is reserved for future use and should be always set to 0xFFFFFFFF.
- change: c_uint = 0xFFFFFFFF,
+ change: c_uint,
};
pub const rtattr = extern struct {