aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny')
-rw-r--r--package/libs/libnl-tiny/src/include/netlink/genl/family.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libnl-tiny/src/include/netlink/genl/family.h b/package/libs/libnl-tiny/src/include/netlink/genl/family.h
index b7cf48fb78..8a1a38ba25 100644
--- a/package/libs/libnl-tiny/src/include/netlink/genl/family.h
+++ b/package/libs/libnl-tiny/src/include/netlink/genl/family.h
@@ -62,7 +62,7 @@ static inline unsigned int genl_family_get_id(struct genl_family *family)
if (family->ce_mask & FAMILY_ATTR_ID)
return family->gf_id;
else
- return GENL_ID_GENERATE;
+ return 0;
}
static inline void genl_family_set_id(struct genl_family *family, unsigned int id)