--- drbd-utils-8.9.6.orig/user/shared/libgenl.h +++ drbd-utils-8.9.6/user/shared/libgenl.h @@ -843,7 +843,7 @@ { struct nlattr *start = (struct nlattr *)msg->tail; - if (nla_put(msg, attrtype, 0, NULL) < 0) + if (nla_put(msg, attrtype | NLA_F_NESTED, 0, NULL) < 0) return NULL; return start;