diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-06-28 13:46:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 13:46:45 +0200 |
commit | 21e1cc1c5e6710406320f0327679ebd2cf367188 (patch) | |
tree | a4cf875a479bb1a1edc48be13dd885dcec361eb6 /lib/rtnl.c | |
parent | 3c8792988930bf7c1bdd7ae4fc1330d246347b4f (diff) | |
parent | d3c58c04cfb22e206cc522c92ffc3fc7e5e76da1 (diff) |
Merge pull request #89 from jow-/rtnl-expose-ifi-change
rtnl: expose ifinfomsg.ifi_change member
Diffstat (limited to 'lib/rtnl.c')
-rw-r--r-- | lib/rtnl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -676,12 +676,13 @@ static const uc_nl_nested_spec_t link_attrs_af_spec_rta = { static const uc_nl_nested_spec_t link_msg = { .headsize = NLA_ALIGN(sizeof(struct ifinfomsg)), - .nattrs = 23, + .nattrs = 24, .attrs = { { IFLA_UNSPEC, "family", DT_U8, 0, MEMBER(ifinfomsg, ifi_family) }, { IFLA_UNSPEC, "type", DT_U16, 0, MEMBER(ifinfomsg, ifi_type) }, { IFLA_UNSPEC, "dev", DT_NETDEV, 0, MEMBER(ifinfomsg, ifi_index) }, { IFLA_UNSPEC, "flags", DT_FLAGS, 0, MEMBER(ifinfomsg, ifi_flags) }, + { IFLA_UNSPEC, "change", DT_FLAGS, 0, MEMBER(ifinfomsg, ifi_change) }, { IFLA_ADDRESS, "address", DT_LLADDR, 0, NULL }, { IFLA_BROADCAST, "broadcast", DT_LLADDR, 0, NULL }, { IFLA_TXQLEN, "txqlen", DT_U32, 0, NULL }, |