]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: Add IFLA_QDISC
authorSusant Sahani <ssahani@vmware.com>
Fri, 13 Mar 2020 09:54:02 +0000 (10:54 +0100)
committerSusant Sahani <ssahani@vmware.com>
Fri, 13 Mar 2020 09:54:02 +0000 (10:54 +0100)
src/libsystemd/sd-netlink/netlink-types.c

index 720e48e227c8994e8f8aecd305a6a956aa1e349d..8644cc7488caa8f41a1e24b6dfce93443ad7f282 100644 (file)
@@ -543,9 +543,7 @@ static const NLType rtnl_link_types[] = {
         [IFLA_IFNAME]           = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
         [IFLA_MTU]              = { .type = NETLINK_TYPE_U32 },
         [IFLA_LINK]             = { .type = NETLINK_TYPE_U32 },
-/*
-        [IFLA_QDISC],
-*/
+        [IFLA_QDISC]            = { .type = NETLINK_TYPE_STRING },
         [IFLA_STATS]            = { .size = sizeof(struct rtnl_link_stats) },
 /*
         [IFLA_COST],