From a3f7a48d9c9916a36a0b246eefbf5516e9400b95 Mon Sep 17 00:00:00 2001 From: Jens Goldberg Date: Mon, 7 Jun 2021 19:47:34 +0000 Subject: [PATCH] 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. --- lib/std/os/bits/linux/netlink.zig | 3 +-- 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 index 4f9f41bb80..a840a47625 100644 --- 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 {